Commit a26e69e180e7

Vincent Demeester <vincent@sbr.pm>
2019-12-26 17:26:05
setup-editing.el: add pdf-tools
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent fa16539
Changed files (1)
lisp/setup-editing.el
@@ -248,6 +248,16 @@ instead.  This command can then be followed by the standard
   :commands goto-last-change
   :bind ("C-z" . goto-last-change))
 
+(use-package pdf-tools
+  :pin manual
+  :mode  ("\\.pdf\\'" . pdf-view-mode)
+  :config
+  (setq-default pdf-view-display-size 'fit-page)
+  (setq pdf-annot-activate-created-annotations t)
+  (setq pdf-view-midnight-colors '("#ffffff" . "#000000"))
+  (pdf-tools-install :no-query)
+  (require 'pdf-occur))
+
 (provide 'setup-editing)
 
 ;; Local Variables: