From 6a1066160a2d47fdfd63c67db2cdf71e2fea4e8b Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Fri, 17 May 2019 18:24:56 -0400 Subject: Replace dim with diminish --- jakob.org | 29 +++++++---------------------- 1 file 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=. -- cgit v1.3