summaryrefslogtreecommitdiff
path: root/jakob.org
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-05-17 18:24:56 -0400
committerJakob L. Kreuze2019-05-17 18:24:56 -0400
commit6a1066160a2d47fdfd63c67db2cdf71e2fea4e8b (patch)
tree1c79ae05094e431bd00c6adc0136a17fdf452e04 /jakob.org
parent7c0ecbf58ec06e799f89baae318e95ebc6eaf7dc (diff)
Replace dim with diminish
Diffstat (limited to 'jakob.org')
-rw-r--r--jakob.org29
1 files changed, 7 insertions, 22 deletions
diff --git a/jakob.org b/jakob.org
index da3218e..fee1864 100644
--- a/jakob.org
+++ b/jakob.org
@@ -79,10 +79,13 @@ without reqiring an explicit =:straight t=.
(setq straight-use-package-by-default t)
#+END_SRC
-=bind-key= is required early on for =use-package='s =:bind= declarations.
+=bind-key= is required early on for =use-package='s =:bind= declarations, as is
+=diminish= for =:diminish=.
#+BEGIN_SRC elisp
(use-package bind-key :defer t)
+(use-package diminish
+ :diminish visual-line-mode)
#+END_SRC
** Dependency Management
@@ -379,9 +382,7 @@ Configure how the =completing-read= is displayed.
Diminish the modeline indicator for Ivy.
#+BEGIN_SRC elisp
- :init
- (when-all-loaded dim
- (dim-minor-name 'ivy-mode ""))
+ :diminish ivy-mode
#+END_SRC
Enable Ivy globally.
@@ -831,18 +832,6 @@ as `org-src-fontify-natively' is non-nil."
(set-buffer-modified-p modified)))))
#+END_SRC
-** dim
-
-[[https://www.emacswiki.org/emacs/DelightedModes][Delight]] doesn't work for me, and [[https://github.com/myrjola/diminish.el][diminish]] is sadly lacking in the feature
-department, so I've chosen to clean up my modeline with dim.
-
-#+BEGIN_SRC elisp
-(use-package dim
- :demand t
- :config
- (dim-minor-name 'visual-line-mode ""))
-#+END_SRC
-
* Window Management
Yes, I use Emacs as my window manager. You should, too!
@@ -1867,9 +1856,7 @@ Use a more sane prefix key for interacting with =mpdel=.
Diminish the modeline indicator for mpdel.
#+BEGIN_SRC elisp
- :init
- (when-all-loaded dim
- (dim-minor-name 'mpdel-mode ""))
+ :diminish mpdel-mode
#+END_SRC
Start =mpdel-mode=. Eh, why stop there? We can start the daemon from here, too.
@@ -1984,9 +1971,7 @@ Preference of hygene. See [[Filesystem]].
Diminish the modeline indicator for Projectile.
#+BEGIN_SRC elisp
- :init
- (when-all-loaded dim
- (dim-minor-name 'projectile-mode ""))
+ :diminish projectile-mode
#+END_SRC
Use [[Ivy]] for Projectile commands instead of =ido=.

© 2015 - 2026 Jakob L. Kreuze