From: Amin Bandali Date: Sun, 11 Aug 2019 01:11:36 +0000 (-0400) Subject: emacs,guix: install and use pdf-tools for viewing PDFs in emacs X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/b188e798a0a4f0ec375f63e34fe26c76872e9acf?ds=inline emacs,guix: install and use pdf-tools for viewing PDFs in emacs --- 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)