From b188e798a0a4f0ec375f63e34fe26c76872e9acf Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 10 Aug 2019 21:11:36 -0400 Subject: emacs,guix: install and use pdf-tools for viewing PDFs in emacs --- .config/guix/manifest/jirud.scm | 1 + .emacs.d/init.el | 6 ++++++ 2 files changed, 7 insertions(+) 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) -- cgit v1.2.3-60-g2f50