From f2640eb84768f7130c5d78a4070d121da11dd555 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Jun 2018 16:47:16 +0200 Subject: emacs: Fix eyebrowse+evil --- emacs/.emacs.d/main.el | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'emacs') 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)))) -- cgit 1.4.1