From a2fc1c0c2ce4de2c06a3aa00a9b088e775f8bfef Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 10 Aug 2016 14:27:24 +0200 Subject: Diminish some minor modes --- emacs/.emacs.d/init.org | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'emacs/.emacs.d/init.org') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 9652940..9660cf2 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -236,6 +236,15 @@ To start off, first I need to enable lexical binding. (load-theme 'yoshi :no-confirm) #+END_SRC +* Diminish + + I really don't need to see some of the minor modes. + + #+BEGIN_SRC emacs-lisp + (ensure-library diminish) + (require 'diminish) + #+END_SRC + * Ivy Ivy is a completing read implementation that offers choises @@ -259,6 +268,14 @@ To start off, first I need to enable lexical binding. (require 'ivy) #+END_SRC + Don't show that ivy is enabled in the mode-line. It's enabled + globally and I'll notice it from other things anyway (like it + showing up). + + #+BEGIN_SRC emacs-lisp + (diminish 'ivy-mode) + #+END_SRC + Enable fuzzy matching in Ivy. #+BEGIN_SRC emacs-lisp @@ -288,6 +305,13 @@ To start off, first I need to enable lexical binding. (require 'counsel) #+END_SRC + Don't show that counsel is enabled in the mode-line. It's enabled + globally and I'll notice whenever I press M-x for example. + + #+BEGIN_SRC emacs-lisp + (diminish 'counsel-mode) + #+END_SRC + Enable Counsel. #+BEGIN_SRC emacs-lisp @@ -397,6 +421,27 @@ To start off, first I need to enable lexical binding. (flycheck-pos-tip-mode)) #+END_SRC +** Auto revert mode + + ARev isn't very descriptive, and fairly wide. Use a font-awesome icon instead. + + #+BEGIN_SRC emacs-lisp + (diminish 'auto-revert-mode + (propertize (concat " " (char-to-string #xf021)) + 'face '(:family "Font Awesome" :height 0.75))) + #+END_SRC + +** Auto fill mode + + "Fill" is fine as a mode-line lighter, but I prefer something + shorter. + + #+BEGIN_SRC emacs-lisp + (diminish 'auto-fill-function + (propertize (concat " " (char-to-string #xf149)) + 'face '(:family "Font Awesome" :height 0.75))) + #+END_SRC + * Major modes ** Emacs lisp mode -- cgit v1.2.3-54-g00ecf