summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el24
1 files changed, 12 insertions, 12 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 4cf7222a..5e99bf16 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -958,19 +958,19 @@
                ("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
-             :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)
+            (with-eval-after-load "evil-vars"
+              (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)))
             (define-hook-helper evil-after-load ()
               :name evil-eyebrowse-setup
               (eyebrowse-setup-evil-keys))))