(use-package maple-modeline
:hook (after-init . maple-modeline-mode)
:config
(setq maple-modeline-message-p nil)
;; standard, minimal, sidebar
(setq maple-modeline-style 'standard)
;; standard or auto or some number
(setq maple-modeline-width 'standard)
;; show icon, just for version-control
(setq maple-modeline-icon (and (display-graphic-p) *icon*))
;; custom separator from https://github.com/honmaple/emacs-maple-xpm
(use-package maple-xpm
:ensure nil
:config
(setq maple-xpm-style (if (display-graphic-p) 'wave 'default))))
(maple-modeline-set style-name
:left '(window-number)
:right '(count)
:sep "=")
Then set (setq maple-modeline-style 'style-name)
(maple-modeline-define anzu
:if (bound-and-true-p anzu--state)
:priority 7
:format (anzu--update-mode-line))
- window-number
- major-mode
- minor-mode
- buffer-info
- buffer-encoding
- buffer-position
- remote-host
- count
- region
- misc-info
- python
- flycheck
- version-control
- process
- anzu
- iedit
- lsp
- narrow
- macro
- nyan
- message