fixed package menu and pdf view evil modes

This commit is contained in:
ndwarshuis 2019-04-04 15:20:32 -04:00
parent 25369b2bc4
commit 4890a885d8
1 changed files with 11 additions and 0 deletions

View File

@ -4073,6 +4073,17 @@ Since I use vi mode in my terminal emulator, need to preserve the escape key's r
(kbd "<escape>") 'nd/term-send-raw-escape
(kbd "C-<escape>") '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