From c5f2e57278af5af9ea6da5437659663cc9f074cd Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 21 Feb 2024 22:25:27 +0100 Subject: Remove doom-modeline, add mini-echo. --- init.org | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/init.org b/init.org index 81810db..d343b91 100644 --- a/init.org +++ b/init.org @@ -232,23 +232,20 @@ Dired mode becomes much prettier with =nerd-icons=. (use-package nerd-icons) #+END_SRC -I like the doom emacs modeline with buffer-appropriate icons. +Customize the mode line: #+BEGIN_SRC elisp -(use-package doom-modeline - :after eshell ;Make sure it gets hooked after eshell - :init (doom-modeline-mode) - :custom - (doom-modeline-height 48) - (doom-modeline-bar-width 8) - (doom-modeline-lsp t) - (doom-modeline-github nil) - (doom-modeline-mu4e nil) - (doom-modeline-irc t) - (doom-modeline-minor-modes nil) - (doom-modeline-persp-name nil) - (doom-modeline-buffer-file-name-style 'truncate-except-project) - (doom-modeline-major-mode-icon nil)) +(use-package mini-echo + :config + (mini-echo-mode) + :init + ;; set default segments of long/short style + (setq mini-echo-default-segments + '(:long ("major-mode" "buffer-name" "vcs" "buffer-position" + "flymake" "process" "selection-info" + "narrow" "macro" "profiler") + :short ("buffer-name-short" "buffer-position" "process" + "profiler" "selection-info" "narrow" "macro")))) #+END_SRC * Default fonts -- cgit v1.2.3