summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-08-30 18:58:13 -0400
committerAmin Bandali <bandali@gnu.org>2019-08-30 19:06:36 -0400
commit822ac360f8ec3f376b5ba0db6510160d836ac913 (patch)
tree4d6938c8bea2d139bb9df7ad37f7237b6f76ed17
parent0758ec382db1a5e1e145e3e9dbf7dfe796e4f10a (diff)
downloadconfigs-822ac360f8ec3f376b5ba0db6510160d836ac913.tar.gz
configs-822ac360f8ec3f376b5ba0db6510160d836ac913.tar.xz
configs-822ac360f8ec3f376b5ba0db6510160d836ac913.zip
emacs: pdf-tools: convenient history bindings, more gentle resizing
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 1432dda..c723488 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -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)