summaryrefslogtreecommitdiff
path: root/tw/home/files/emacs-init.el
diff options
context:
space:
mode:
authorTimo Wilken2023-01-19 23:49:56 +0100
committerTimo Wilken2023-01-19 23:49:56 +0100
commit98af354d4386260a04f6ddba29853ecfed446299 (patch)
tree25afed7c462e2de8eccac92087ef1ffb0879aa63 /tw/home/files/emacs-init.el
parent1b166c5bb8597e1efc2580c7992d5df94532e55a (diff)
Diminish more minor modes
Diffstat (limited to 'tw/home/files/emacs-init.el')
-rw-r--r--tw/home/files/emacs-init.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el
index 3bbd8d0e..648875cd 100644
--- a/tw/home/files/emacs-init.el
+++ b/tw/home/files/emacs-init.el
@@ -165,7 +165,8 @@
"Store all `undo-tree' history in a single directory, instead of next to the associated file.")
:commands (global-undo-tree-mode)
:demand t ; this is required so that the :config stanza is actually run asap despite :bind
- :config (global-undo-tree-mode +1))
+ :config (global-undo-tree-mode +1)
+ :diminish undo-tree-mode)
;; IDE-like features.
(use-package vc
@@ -430,7 +431,8 @@
(use-package evil-collection
:after (evil)
:commands (evil-collection-init) :demand t
- :config (evil-collection-init))
+ :config (evil-collection-init)
+ :diminish evil-collection-unimpaired-mode)
(use-package evil-org
:after (evil org)
@@ -451,10 +453,11 @@
;; :custom (evil-replace-with-register-key "gR" "Use the default key.")
:config (evil-replace-with-register-install))
-(use-package evil-commentary
+(use-package evil-commentary ; e.g. "gcc" / "gcap" to comment out blocks of text
:after (evil)
:commands (evil-commentary-mode) :demand t
- :config (evil-commentary-mode +1))
+ :config (evil-commentary-mode +1)
+ :diminish evil-commentary-mode)
(use-package evil-expat ; for :reverse, :remove, :rename, :colo, :g*, ... ex commands
:after (evil))