diff --git a/emacs/.emacs.d/config/init-pdf.el b/emacs/.emacs.d/config/init-pdf.el new file mode 100644 index 0000000..cb6e0d9 --- /dev/null +++ b/emacs/.emacs.d/config/init-pdf.el @@ -0,0 +1,9 @@ +;; -*- lexical-binding: t; -*- + +(use-package pdf-tools + :mode (("\\.pdf\\'" . pdf-view-mode)) + :config + (pdf-tools-install) + (evil-collection-pdf-setup)) + +(provide 'init-pdf) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 403a6d6..67083d1 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -104,6 +104,7 @@ (require 'init-email) (require 'init-kubernetes) (require 'init-epub) +(require 'init-pdf) (require 'init-homebrew) (require 'init-elfeed) (require 'init-1pass)