all repos — archive/dotfiles @ 6c1e7ace6f265f11ae88ea4d8e664d12e22d3aef

Superseded by nixfiles

Emacs: Move eyebrowse keys to fit evil
Alan Pearce alan@alanpearce.eu
Fri, 08 Jun 2018 15:03:33 +0200
commit

6c1e7ace6f265f11ae88ea4d8e664d12e22d3aef

parent

25a8283fdf77fec948c7c71efc583d62ddbe0c18

1 files changed, 12 insertions(+), 11 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -958,17 +958,18 @@ ("s-6" . eyebrowse-switch-to-window-config-6)                ("s-7" . eyebrowse-switch-to-window-config-7)
                ("s-8" . eyebrowse-switch-to-window-config-8)
                ("s-9" . eyebrowse-switch-to-window-config-9)))
-            (bind-keys*
-             ("M-0" . eyebrowse-switch-to-window-config-0)
-             ("M-1" . eyebrowse-switch-to-window-config-1)
-             ("M-2" . eyebrowse-switch-to-window-config-2)
-             ("M-3" . eyebrowse-switch-to-window-config-3)
-             ("M-4" . eyebrowse-switch-to-window-config-4)
-             ("M-5" . eyebrowse-switch-to-window-config-5)
-             ("M-6" . eyebrowse-switch-to-window-config-6)
-             ("M-7" . eyebrowse-switch-to-window-config-7)
-             ("M-8" . eyebrowse-switch-to-window-config-8)
-             ("M-9" . eyebrowse-switch-to-window-config-9))
+            (bind-keys
+             :map evil-window-map
+             ("0" . eyebrowse-switch-to-window-config-0)
+             ("1" . eyebrowse-switch-to-window-config-1)
+             ("2" . eyebrowse-switch-to-window-config-2)
+             ("3" . eyebrowse-switch-to-window-config-3)
+             ("4" . eyebrowse-switch-to-window-config-4)
+             ("5" . eyebrowse-switch-to-window-config-5)
+             ("6" . eyebrowse-switch-to-window-config-6)
+             ("7" . eyebrowse-switch-to-window-config-7)
+             ("8" . eyebrowse-switch-to-window-config-8)
+             ("9" . eyebrowse-switch-to-window-config-9))
             (eyebrowse-mode +1)
             (define-hook-helper evil-after-load ()
               :name evil-eyebrowse-setup