Diminish some minor modes
This commit is contained in:
parent
e467d26031
commit
a2fc1c0c2c
1 changed files with 45 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue