Skip to content
Add support to saving and reopening last known pdf position.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README Apr 23, 2019
pdf-view-restore.el

README.md

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.

You can’t perform that action at this time.