diff options
author | Amin Bandali <bandali@gnu.org> | 2019-08-10 21:11:36 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-08-10 21:11:36 -0400 |
commit | b188e798a0a4f0ec375f63e34fe26c76872e9acf (patch) | |
tree | 0daf4d1d21eb9f50ec047d6b33870a782602982f | |
parent | b91f8784733eb84a3050dcdfa9b5a1881ddc50e7 (diff) | |
download | configs-b188e798a0a4f0ec375f63e34fe26c76872e9acf.tar.gz configs-b188e798a0a4f0ec375f63e34fe26c76872e9acf.tar.xz configs-b188e798a0a4f0ec375f63e34fe26c76872e9acf.zip |
emacs,guix: install and use pdf-tools for viewing PDFs in emacs
-rw-r--r-- | .config/guix/manifest/jirud.scm | 1 | ||||
-rw-r--r-- | .emacs.d/init.el | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.config/guix/manifest/jirud.scm b/.config/guix/manifest/jirud.scm index c4e7f9e..51f4920 100644 --- a/.config/guix/manifest/jirud.scm +++ b/.config/guix/manifest/jirud.scm @@ -41,6 +41,7 @@ "emacs-orgalist" "emacs-page-break-lines" "emacs-pass" + "emacs-pdf-tools" "emacs-pinentry" "emacs-projectile" "emacs-shrink-path" diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 74e4eea..a19fcaa 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1543,6 +1543,12 @@ For disabling the behaviour for certain buffers and/or modes." :bind ("C-c a p" . pass) :hook (pass-mode . View-exit)) +(use-package pdf-tools + :defer 0.5 + :bind (:map pdf-view-mode-map + ("M-RET" . image-previous-line)) + :config (pdf-tools-install nil t)) + ;;; Email (with Gnus) |