emacs,guix: install and use pdf-tools for viewing PDFs in emacs
authorAmin Bandali <bandali@gnu.org>
Sun, 11 Aug 2019 01:11:36 +0000 (21:11 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 11 Aug 2019 01:11:36 +0000 (21:11 -0400)
.config/guix/manifest/jirud.scm
.emacs.d/init.el

index c4e7f9e..51f4920 100644 (file)
@@ -41,6 +41,7 @@
     "emacs-orgalist"
     "emacs-page-break-lines"
     "emacs-pass"
+    "emacs-pdf-tools"
     "emacs-pinentry"
     "emacs-projectile"
     "emacs-shrink-path"
index 74e4eea..a19fcaa 100644 (file)
@@ -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))
+
 \f
 ;;; Email (with Gnus)