-
-
Save TheBB/54e906df5b4b83bb5e94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(spacemacs|add-toggle which-function-mode | |
:status which-function-mode | |
:on (which-function-mode) | |
:off (which-function-mode -1) | |
:evil-leader "of") | |
(spacemacs|define-mode-line-segment which-function | |
which-func-format | |
:when (bound-and-true-p which-function-mode)) | |
(setq spacemacs-mode-line-right | |
'(which-function | |
(battery :when active) | |
selection-info | |
((buffer-encoding-abbrev point-position line-column) :separator " | ") | |
((global-mode new-version) :when active) | |
buffer-position | |
hud | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment