From 1ac4d84b052dda4115bd19914687970311473e76 Mon Sep 17 00:00:00 2001 From: David Florness Date: Tue, 11 Sep 2018 12:32:26 -0600 Subject: [PATCH] Organize appearance settings --- init.el | 2 -- lisp/setup-appearance.el | 40 ++++++++-------------------------------- 2 files changed, 8 insertions(+), 34 deletions(-) diff --git a/init.el b/init.el index 706dc5b..664ea81 100644 --- a/init.el +++ b/init.el @@ -239,10 +239,8 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(column-number-mode t) '(initial-buffer-choice t) '(initial-scratch-message "") - '(show-paren-mode t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/lisp/setup-appearance.el b/lisp/setup-appearance.el index 4ceed36..f9e0a28 100644 --- a/lisp/setup-appearance.el +++ b/lisp/setup-appearance.el @@ -22,36 +22,14 @@ nil t)) -;;; Disable menu bar -(menu-bar-mode 0) - - -;;; Disable scroll bar -(scroll-bar-mode 0) - - -;;; Disable tool bar -(tool-bar-mode 0) - - -;;; Turn off cursor blinking -(blink-cursor-mode 0) - - -;;; Show column number next to line number in mode line -(column-number-mode) - - -;;; Highlight parentheses -(show-paren-mode) - - -;;; Highlight stuff with M-s h -(global-hi-lock-mode 1) - - -;;; Move mouse if it gets in the way of the cursor -(mouse-avoidance-mode 'animate) +(menu-bar-mode 0) ; Disable menu bar +(scroll-bar-mode 0) ; Disable scroll bar +(tool-bar-mode 0) ; Disable tool bar +(blink-cursor-mode 0) ; Turn off cursor blinking +(column-number-mode 1) ; Show column number next to line number in mode line +(show-paren-mode 1) ; Highlight parentheses +(global-hi-lock-mode 1) ; Highlight stuff with M-s h +(mouse-avoidance-mode 'animate) ; Move mouse if it gets in the way of the cursor ;;; Spell check in comments and strings @@ -77,8 +55,6 @@ (doom-themes-org-config)))) - - (use-package pretty-mode :ensure t :hook ((emacs-lisp-mode python) . turn-on-pretty-mode)) -- 2.38.4