emacs: pdf-tools: convenient history bindings, more gentle resizing
authorAmin Bandali <bandali@gnu.org>
Fri, 30 Aug 2019 22:58:13 +0000 (18:58 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 30 Aug 2019 23:06:36 +0000 (19:06 -0400)
.emacs.d/init.el

index 1432dda..c723488 100644 (file)
@@ -1588,8 +1588,11 @@ This function is intended for use with `ivy-ignore-buffers'."
 (use-package pdf-tools
   :defer 0.5
   :bind (:map pdf-view-mode-map
-              ("M-RET" . image-previous-line))
-  :config (pdf-tools-install nil t))
+              ("<XF86Back>"    . pdf-history-backward)
+              ("<XF86Forward>" . pdf-history-forward)
+              ("M-RET"         . image-previous-line))
+  :config (pdf-tools-install nil t)
+  :custom (pdf-view-resize-factor 1.05))
 
 (use-package biblio)