From: Amin Bandali Date: Wed, 31 Oct 2018 15:55:59 +0000 (-0400) Subject: [emacs] some pdf-tools customizations X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/a25e56597e6ad13f174ae0ecaee4ab31c072aab2?ds=sidebyside [emacs] some pdf-tools customizations --- diff --git a/init.org b/init.org index 6d0b40f..058b9b0 100644 --- a/init.org +++ b/init.org @@ -1610,13 +1610,17 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. #+begin_src emacs-lisp (use-package pdf-tools :magic ("%PDF" . pdf-view-mode) - :config (pdf-tools-install) + :config + (setq pdf-view-resize-factor 1.05) + (pdf-tools-install) :bind (:map pdf-view-mode-map ("C-s" . isearch-forward) ("C-r" . isearch-backward) ("j" . pdf-view-next-line-or-next-page) - ("k" . pdf-view-previous-line-or-previous-page))) + ("k" . pdf-view-previous-line-or-previous-page) + ("h" . image-backward-hscroll) + ("l" . image-forward-hscroll))) #+end_src ** anzu