diff options
author | Alan Pearce | 2018-06-15 16:47:16 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-15 16:47:16 +0200 |
commit | f2640eb84768f7130c5d78a4070d121da11dd555 (patch) | |
tree | db07062bcb6449fad88a2812cb650959486b1516 /emacs | |
parent | 6d9b36a2a9f1d7218eeaf325c3aad87bb7af0f4c (diff) | |
download | nixfiles-f2640eb84768f7130c5d78a4070d121da11dd555.tar.lz nixfiles-f2640eb84768f7130c5d78a4070d121da11dd555.tar.zst nixfiles-f2640eb84768f7130c5d78a4070d121da11dd555.zip |
emacs: Fix eyebrowse+evil
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/main.el | 24 |
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)))) |