From a25e56597e6ad13f174ae0ecaee4ab31c072aab2 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 31 Oct 2018 11:55:59 -0400 Subject: [PATCH] [emacs] some pdf-tools customizations --- init.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.20.1