aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-10-27 21:22:35 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-10-27 21:22:35 -0400
commitf98faccad2e282c54ce4c42b595a8987b82d13e4 (patch)
tree6863b8d7c4aa4013cc2c541ce16d302e03c2b64e /init.el
parentAdd package `dired-hacks` (diff)
downloadmmosmacs-f98faccad2e282c54ce4c42b595a8987b82d13e4.tar.gz
mmosmacs-f98faccad2e282c54ce4c42b595a8987b82d13e4.tar.bz2
mmosmacs-f98faccad2e282c54ce4c42b595a8987b82d13e4.zip
Open PDFs directly into `pdf-view-mode` with dark theme
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.el b/init.el
index 12318e2..911e3bb 100644
--- a/init.el
+++ b/init.el
@@ -834,11 +834,15 @@
834(use-package pdf-tools 834(use-package pdf-tools
835 :straight t 835 :straight t
836 :config 836 :config
837 (add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode))
837 (setq pdf-view-use-imagemagick t 838 (setq pdf-view-use-imagemagick t
838 pdf-view-use-scaling nil 839 pdf-view-use-scaling nil
839 doc-view-resolution 300 840 doc-view-resolution 300
840 pdf-view-midnight-colors 841 pdf-view-midnight-colors
841 `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background))) 842 `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background))
843 :hook (pdf-view-mode . pdf-view-themed-minor-mode))
844
845
842 846
843 847
844 848