Skip to content

Commit

Permalink
feat(pdf-tools): save/restore position in PDFs using pdf-view-restore
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 10, 2023
1 parent 525c936 commit 1e392e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/me-docs.el
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
(pdf-view-image-relief 2)
(pdf-view-use-scaling t))

(use-package pdf-view-restore
:straight t
:hook (pdf-view-mode . pdf-view-restore-mode)
:custom
(use-file-base-name-flag nil)
(pdf-view-restore-filename (concat minemacs-local-dir "pdf-view-restore.el")))

(use-package nov
:straight t
:mode ("\\.[eE][pP][uU][bB]\\'" . nov-mode)
Expand Down

0 comments on commit 1e392e1

Please sign in to comment.