summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-10-31 11:55:59 -0400
committerAmin Bandali <bandali@gnu.org>2018-10-31 11:55:59 -0400
commita25e56597e6ad13f174ae0ecaee4ab31c072aab2 (patch)
tree20237d0def7cc16764afbf6dd0221df4450f4a2b
parentd3ce35806feebe6094dd922fab6ac39a3b236caf (diff)
downloadconfigs-a25e56597e6ad13f174ae0ecaee4ab31c072aab2.tar.gz
configs-a25e56597e6ad13f174ae0ecaee4ab31c072aab2.tar.xz
configs-a25e56597e6ad13f174ae0ecaee4ab31c072aab2.zip
[emacs] some pdf-tools customizations
-rw-r--r--init.org8
1 files 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