projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9b8cac2
)
emacs - Add evil-state tag on mode line
author
Peng Li
<seudut@gmail.com>
Sun, 10 Sep 2017 10:12:52 +0000
(18:12 +0800)
committer
Peng Li
<seudut@gmail.com>
Sun, 10 Sep 2017 10:12:52 +0000
(18:12 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
69db22d
..
f504edc
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-422,6
+422,8
@@
clean mode line, Refer to [[https://www.masteringemacs.org/article/hiding-replac
(irony-mode . "")
(page-break-lines-mode . "")
(yas-minor-mode . "y")
(irony-mode . "")
(page-break-lines-mode . "")
(yas-minor-mode . "y")
+ ;; default jj
+ (evil-escape-mode . "")
;; Major modes
(lisp-interaction-mode . "λ")
(hi-lock-mode . "")
;; Major modes
(lisp-interaction-mode . "λ")
(hi-lock-mode . "")
@@
-545,6
+547,7
@@
Revised powerline-center-theme
))
(center (list (powerline-raw " " face1)
(funcall separator-left face1 face2)
))
(center (list (powerline-raw " " face1)
(funcall separator-left face1 face2)
+ (powerline-raw (when (and (boundp 'evil-mode) evil-mode) evil-mode-line-tag) face2)
(when (and (boundp 'erc-track-minor-mode) erc-track-minor-mode)
(powerline-raw erc-modified-channels-object face2 'l))
(powerline-major-mode face2 'l)
(when (and (boundp 'erc-track-minor-mode) erc-track-minor-mode)
(powerline-raw erc-modified-channels-object face2 'l))
(powerline-major-mode face2 'l)