From c0fdf5778c040ad1b2bb25d64b685c36e34292f4 Mon Sep 17 00:00:00 2001 From: Mateus Rodrigues Date: Tue, 11 Aug 2020 19:47:32 -0300 Subject: [PATCH] Read pdfs and epubs in emacs --- elisp/extras.el | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/elisp/extras.el b/elisp/extras.el index bf18d29..1948a23 100644 --- a/elisp/extras.el +++ b/elisp/extras.el @@ -42,6 +42,14 @@ (elfeed-org) (setq rmh-elfeed-org-files (list "~/.emacs.d/feeds/feeds.org"))) +;; Reading +(use-package nov + :config + (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))) +(use-package pdf-tools + :config + (pdf-tools-install)) + ;; Disk usage analyzer (use-package disk-usage) @@ -61,9 +69,9 @@ ;; Orthodox file browser (use-package sunrise-commander) ;; open files in external applications -(use-package openwith - :config - (load "~/.emacs.d/elisp/openwith-setup.el")) +;;(use-package openwith +;; :config +;; (load "~/.emacs.d/elisp/openwith-setup.el")) ;; Programming environment ;; We need colors in eshell