Closed SalTor closed 1 year ago
If you add your mode at the end of nano-modeline-mode-formats
, it should replace the default mode that is called when no other mode has been found. As for making a PR, I would prefer having something specific in default mode. One option could be to have an evil-defaut mode at the end of the list.
I'm new to emacs lisp and am wondering whether there's a better way to update the default modeline for my purposes
Right now the default one shows a primary and secondary section, usually a buffer name and git branch name
I'm a user of evil-mode and would like to have a representation of the current evil state in the modeline so I re-defined this function for the default mode line and currently have to execute it manually in order to have it show
The result is like this![Screen Shot 2022-06-13 at 1 40 24 PM](https://user-images.githubusercontent.com/3672698/173412519-5a73c5b6-40be-4b16-b333-7b025ed30418.jpg)
The change is this
(cond ...)
portion at the endSo:
user-mode
is now deprecatedmode-formats