[pdf] Evilify the pdf-outline-buffer-mode-map after its mode be loaded

This commit is contained in:
Lin Sun 2022-06-07 00:00:02 +00:00 committed by Maxi Wolff
parent 216b98c11e
commit 5a715c85c2
2 changed files with 5 additions and 0 deletions

View File

@ -3137,6 +3137,7 @@ files (thanks to Daniel Nicolai)
- Added declaration for the ~SPC P~ prefix (thanks to Codruț Constantin Gușoi)
**** Pdf
- Fixed ~'~ =pdf-view-jump-to-register= (thanks to duianto)
- Fixed evilifying the pdf-outline-buffer-mode-map (thanks to Lin Sun)
- Key bindings:
- Added to pdf-view mode and transient state
- ~[~ history-backward (previous view)

View File

@ -68,6 +68,7 @@
;; TODO: Make `/', `?' and `n' work like in Evil
(evilified-state-evilify-map pdf-view-mode-map
:mode pdf-view-mode
:eval-after-load pdf-view
:bindings
;; Navigation
"0" 'image-bol
@ -100,6 +101,7 @@
"zr" 'pdf-view-scale-reset)
(evilified-state-evilify-map pdf-outline-buffer-mode-map
:mode pdf-outline-buffer-mode
:eval-after-load pdf-outline
:bindings
"-" 'negative-argument
"j" 'next-line
@ -125,6 +127,7 @@
"F" 'pdf-outline-follow-mode)
(evilified-state-evilify-map pdf-annot-list-mode-map
:mode pdf-annot-list-mode
:eval-after-load pdf-annot
:bindings
"f" 'pdf-annot-list-display-annotation-from-id
"d" 'tablist-flag-forward
@ -133,6 +136,7 @@
"q" 'tablist-quit)
(evilified-state-evilify-map pdf-occur-buffer-mode-map
:mode pdf-occur-buffer-mode
:eval-after-load pdf-occur
:bindings
"q" 'tablist-quit
"g" 'pdf-occur-revert-buffer-with-args