Use frame-local winum window numbers

This commit is contained in:
Jeremy Dormitzer 2021-01-19 09:28:09 -05:00
parent efac7f7254
commit 9fa4a2f3bb

View File

@ -2117,7 +2117,9 @@ This package includes functions to switch windows by number.
(leader-def-key "6" 'winum-select-window-6)
(leader-def-key "7" 'winum-select-window-7)
(leader-def-key "8" 'winum-select-window-8)
(leader-def-key "9" 'winum-select-window-9))
(leader-def-key "9" 'winum-select-window-9)
:custom
(winum-scope 'frame-local))
#+END_SRC
I don't want which-key display "lambda" for the descriptions of these, so set a custom display function. This is [[https://github.com/syl20bnr/spacemacs/blob/master/layers/+distributions/spacemacs-bootstrap/packages.el#L312][stolen from Spacemacs]].