Emacs: Reduce modeline noise
Alan Pearce alan@alanpearce.co.uk
Wed, 16 Mar 2016 22:16:13 +0100
1 files changed, 12 insertions(+), 7 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -200,6 +200,7 @@ #+BEGIN_SRC emacs-lisp (use-package page-break-lines :defer 5 + :diminish page-break-lines-mode :config (global-page-break-lines-mode)) #+END_SRC ** Modeline @@ -472,6 +473,7 @@ ** autorevert #+BEGIN_SRC emacs-lisp (use-package autorevert + :diminish auto-revert-mode :init (progn (global-auto-revert-mode 1) (setq auto-revert-verbose nil @@ -555,11 +557,12 @@ I don’t like it when editors change an entire file’s layout when I open it. Whitespace butler fixes whitespace only for lines that I’m editing. #+BEGIN_SRC emacs-lisp -(use-package ws-butler - :if window-system - :config (ws-butler-global-mode 1)) -(if (daemonp) - (add-hook 'before-make-frame-hook (lambda () (ws-butler-global-mode 1)))) + (use-package ws-butler + :if window-system + :diminish ws-butler-mode + :config (ws-butler-global-mode 1)) + (if (daemonp) + (add-hook 'before-make-frame-hook (lambda () (ws-butler-global-mode 1)))) #+END_SRC ** shrink-whitespace @@ -1232,6 +1235,7 @@ ("C-r" . swiper) ("C-c C-r" . ivy-resume) ("C-x i" . ivy-imenu-goto) ("C-=" . swiper)) + :diminish ivy-mode :config (progn (setq ivy-use-virtual-buffers t ivy-re-builders-alist '((internal-complete-buffer . ivy--regex-fuzzy) @@ -2176,8 +2180,9 @@ Sub-word movement is really nice for camel- and Pascal-case #+BEGIN_SRC emacs-lisp -(use-package subword - :init (global-subword-mode t)) + (use-package subword + :diminish subword-mode + :init (global-subword-mode t)) #+END_SRC I find that =zap-up-to-char= normally makes more sense to me than