summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-08 15:03:33 +0200
committerAlan Pearce2018-06-08 15:03:33 +0200
commit6c1e7ace6f265f11ae88ea4d8e664d12e22d3aef (patch)
treeda27ef1c71b68a553d7b31ee2de6afc1b01164ef
parent25a8283fdf77fec948c7c71efc583d62ddbe0c18 (diff)
downloaddotfiles-6c1e7ace6f265f11ae88ea4d8e664d12e22d3aef.tar.lz
dotfiles-6c1e7ace6f265f11ae88ea4d8e664d12e22d3aef.tar.zst
dotfiles-6c1e7ace6f265f11ae88ea4d8e664d12e22d3aef.zip
Emacs: Move eyebrowse keys to fit evil
-rw-r--r--emacs/.emacs.d/main.el23
1 files changed, 12 insertions, 11 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index e79075b..9274512 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -958,17 +958,18 @@
                ("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