From 4890a885d865440df28f695ccde6cba521c156af Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 4 Apr 2019 15:20:32 -0400 Subject: [PATCH] fixed package menu and pdf view evil modes --- conf.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/conf.org b/conf.org index d758435..3f6fb29 100644 --- a/conf.org +++ b/conf.org @@ -4073,6 +4073,17 @@ Since I use vi mode in my terminal emulator, need to preserve the escape key's r (kbd "") 'nd/term-send-raw-escape (kbd "C-") 'evil-normal-state) #+END_SRC +**** pdf-view +Apparently it needs to be set up after pdf-view is launched +#+BEGIN_SRC emacs-lisp +(add-hook 'pdf-view-mode-hook + (lambda () (evil-collection-pdf-setup))) +#+END_SRC +**** package-menu +#+BEGIN_SRC emacs-lisp +(add-hook 'package-menu-mode-hook + (lambda () (evil-collection-package-menu-setup))) +#+END_SRC ** local These are for mode-specific bindings that can/should be outside of the evil maps above (there are not many, and these may be merged with their evil bretheren in the future). *** org-mode