Skip to content

Add support to saving and reopening last known pdf position.

Notifications You must be signed in to change notification settings

007kevin/pdf-view-restore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

pdf-view-restore

Support for opening last known pdf position in pdf-view-mode provided by pdf-tools.

To install, add the following:

(use-package pdf-view-restore
  :after pdf-tools
  :config
  (add-hook 'pdf-view-mode-hook 'pdf-view-restore-mode))

Once setup, pdf documents will automatically open to their last known page.

By default, save information will be saved relative to the pdf document. If you do not want this behavior, add the following:

(setq pdf-view-restore-filename "~/.emacs.d/.pdf-view-restore")

Do note pdf documents with the same name will conflict with this setting, but you get the ability to move pdf documents around and still keeping the save information in sync.

About

Add support to saving and reopening last known pdf position.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages