aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-08-10 14:27:24 +0200
committerGravatar Tom Willemse2016-08-10 14:27:24 +0200
commita2fc1c0c2ce4de2c06a3aa00a9b088e775f8bfef (patch)
tree2b23061bed513c691047845c5659099f0fed7bf9 /emacs/.emacs.d
parente467d26031230bbe731b5731428d3eaba0bc8e9d (diff)
downloadnew-dotfiles-a2fc1c0c2ce4de2c06a3aa00a9b088e775f8bfef.tar.gz
new-dotfiles-a2fc1c0c2ce4de2c06a3aa00a9b088e775f8bfef.zip
Diminish some minor modes
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.org45
1 files changed, 45 insertions, 0 deletions
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