Open pengu10 opened 4 years ago
Hello How can i bind window 0 to key map 1? i tried putting this in my .spacemacs and & .emacs files but its not working, what am i doing wrong
modified version of https://github.com/deb0ch/emacs-winum#keybindings with window 0 set to key 1
(setq winum-keymap (let ((map (make-sparse-keymap))) (define-key map (kbd "C-`") 'winum-select-window-by-number) (define-key map (kbd "C-²") 'winum-select-window-by-number) (define-key map (kbd "1") 'winum-select-window-0-or-10) (define-key map (kbd "2") 'winum-select-window-1) (define-key map (kbd "3") 'winum-select-window-2) (define-key map (kbd "4") 'winum-select-window-3) (define-key map (kbd "5") 'winum-select-window-4) (define-key map (kbd "6") 'winum-select-window-5) (define-key map (kbd "7") 'winum-select-window-6) (define-key map (kbd "8") 'winum-select-window-7) (define-key map (kbd "9") 'winum-select-window-8) map)) (require 'winum) (winum-mode)
this project is dead
From what I can tell you seemed to be using the wrong keymap variable. winum-base-map.
winum-base-map
Hello How can i bind window 0 to key map 1? i tried putting this in my .spacemacs and & .emacs files but its not working, what am i doing wrong
modified version of https://github.com/deb0ch/emacs-winum#keybindings with window 0 set to key 1