From 2176627ce01dff84926fb2b997779a223efe50e8 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 19 May 2022 21:47:34 -0400 Subject: * .emacs.d/init.el: Small cleanups. --- .emacs.d/init.el | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 459dbe8..ce05ab4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -194,24 +194,16 @@ (setq ;; line-spacing 3 - ;; completion case sensitivity completion-ignore-case t read-buffer-completion-ignore-case t - ;; minibuffer enable-recursive-minibuffers t resize-mini-windows t - ;; mode-line mode-line-compact t + ;; mouse-autoselect-window t + scroll-preserve-screen-position 1 ;; i don't feel like jumping out of my chair every now and again; ;; so...don't *BEEP* at me, emacs =) - ring-bell-function 'ignore - ;; better scrolling - ;; scroll-conservatively 101 - scroll-conservatively 15 - ;; scroll-preserve-screen-position 1 - ;; focus follows mouse - ;; mouse-autoselect-window t - ) + ring-bell-function 'ignore) (setq-default ;; case-sensitive search (and `dabbrev-expand') @@ -432,20 +424,11 @@ ;; faces (when (display-graphic-p) (with-eval-after-load 'faces - (let* ((grey "#e7e7e7") - ;; (darker-grey "#d9d9d9") - ;; (box ;; 'unspecified - ;; `(;; :line-width -1 - ;; :style released-button)) - ) - ;; (set-face-attribute 'fixed-pitch nil :family "Source Code Pro") - (set-face-attribute 'fixed-pitch nil :family "Inconsolata") + (let ((grey "#e7e7e7")) + (set-face-attribute 'fixed-pitch nil :family "Source Code Pro") (set-face-attribute 'mode-line nil - :background grey ;; :box box - :inherit 'fixed-pitch) - ;; (set-face-attribute 'mode-line-inactive nil - ;; :background darker-grey :box box) - ))) + :background grey + :inherit 'fixed-pitch)))) ;;; Useful utilities -- cgit v1.2.3-60-g2f50