feat: pdf-view C-j/C-k page navigation
This commit is contained in:
@@ -2874,7 +2874,13 @@ Really useful to be able to have a buffer with notes, and another with the offic
|
||||
;; Hooks
|
||||
;; (add-hook 'pdf-view-mode-hook #'pdf-view-midnight-minor-mode)
|
||||
(add-hook 'pdf-view-mode-hook #'pdf-view-roll-minor-mode)
|
||||
)
|
||||
|
||||
;; Page navigation: C-j next page, C-k previous page
|
||||
;; Uses pdf-roll-* variants because pdf-view-roll-minor-mode is active —
|
||||
;; they correctly handle scroll position in continuous layout.
|
||||
(map! :map pdf-view-mode-map
|
||||
:n "C-j" #'pdf-roll-next-page
|
||||
:n "C-k" #'pdf-roll-previous-page))
|
||||
#+end_src
|
||||
|
||||
* Custom functions
|
||||
|
||||
@@ -1980,7 +1980,13 @@ only injects when the project's context-tag matches current mu4e context."
|
||||
;; Hooks
|
||||
;; (add-hook 'pdf-view-mode-hook #'pdf-view-midnight-minor-mode)
|
||||
(add-hook 'pdf-view-mode-hook #'pdf-view-roll-minor-mode)
|
||||
)
|
||||
|
||||
;; Page navigation: C-j next page, C-k previous page
|
||||
;; Uses pdf-roll-* variants because pdf-view-roll-minor-mode is active —
|
||||
;; they correctly handle scroll position in continuous layout.
|
||||
(map! :map pdf-view-mode-map
|
||||
:n "C-j" #'pdf-roll-next-page
|
||||
:n "C-k" #'pdf-roll-previous-page))
|
||||
|
||||
;;Refile in datetree function
|
||||
(defun org-refile-to-datetree (&optional file)
|
||||
|
||||
Reference in New Issue
Block a user