From 9fa4a2f3bbb1fd7b57cfba3c99b9abd8ba6176b2 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 19 Jan 2021 09:28:09 -0500 Subject: [PATCH] Use frame-local winum window numbers --- emacs/.emacs.d/init.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index eaaf098..4887cab 100755 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -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]].