made pdf-view keybindings more evil
This commit is contained in:
parent
a95e517b7e
commit
50170f9ba1
10
conf.org
10
conf.org
|
@ -3072,10 +3072,18 @@ I like tab completion...regardless of what the helm zealots say.
|
||||||
(kbd "C-<tab>") 'helm-select-action)
|
(kbd "C-<tab>") 'helm-select-action)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** pdf-view
|
**** pdf-view
|
||||||
Apparently it needs to be set up after pdf-view is launched
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
;; Apparently it needs to be set up after pdf-view is launched
|
||||||
(add-hook 'pdf-view-mode-hook
|
(add-hook 'pdf-view-mode-hook
|
||||||
(lambda () (evil-collection-pdf-setup)))
|
(lambda () (evil-collection-pdf-setup)))
|
||||||
|
|
||||||
|
(evil-define-key '(normal visual) pdf-view-mode-map
|
||||||
|
"go" #'pdf-occur
|
||||||
|
"it" #'pdf-annot-add-text-annotation
|
||||||
|
"ih" #'pdf-annot-add-highlight-markup-annotation
|
||||||
|
"is" #'pdf-annot-add-squiggly-markup-annotation
|
||||||
|
"iu" #'pdf-annot-add-underline-markup-annotation
|
||||||
|
"io" #'pdf-annot-add-strikeout-markup-annotation)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** package-menu
|
**** package-menu
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
Loading…
Reference in New Issue