Tweak meacs modeline configuration

This commit is contained in:
Nathan McCarty 2022-06-02 23:58:56 -04:00
parent b21d018d49
commit f385d1adf9
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 10 additions and 0 deletions

View File

@ -119,6 +119,16 @@ This tweak applies to:
#+end_src #+end_src
Setting ~mixed-pitch-set-height~ is required to get ~mixed-pitch-mode~ to render fonts with the correct size in doom emacs, apparently. Setting ~mixed-pitch-set-height~ is required to get ~mixed-pitch-mode~ to render fonts with the correct size in doom emacs, apparently.
** Modeline configuration
Configure the modeline to truncate with project (so that ~~/Projects/Asuran/replicator/src/lib.rs~ becomes ~replicator/s/lib.rs~)
#+begin_src emacs-lisp
(setq doom-modeline-buffer-file-name-style 'truncate-with-project)
#+end_src
Display the current time in the modeline
#+begin_src emacs-lisp
(display-time-mode 1)
#+end_src
* Basic Editing * Basic Editing
** Navigation ** Navigation
*** Avy *** Avy