diff options
author | Amin Bandali <bandali@gnu.org> | 2018-10-31 11:55:59 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-10-31 11:55:59 -0400 |
commit | a25e56597e6ad13f174ae0ecaee4ab31c072aab2 (patch) | |
tree | 20237d0def7cc16764afbf6dd0221df4450f4a2b | |
parent | d3ce35806feebe6094dd922fab6ac39a3b236caf (diff) | |
download | configs-a25e56597e6ad13f174ae0ecaee4ab31c072aab2.tar.gz configs-a25e56597e6ad13f174ae0ecaee4ab31c072aab2.tar.xz configs-a25e56597e6ad13f174ae0ecaee4ab31c072aab2.zip |
[emacs] some pdf-tools customizations
-rw-r--r-- | init.org | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |