Fit PDF to page by default

This commit is contained in:
coolneng 2022-10-21 13:52:36 +02:00
parent b5740b6e5b
commit f8c1b7c558
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 0 additions and 1 deletions

1
+ui.el
View File

@ -9,7 +9,6 @@
;; Match pdf-tools colors to the theme and fit to page by default ;; Match pdf-tools colors to the theme and fit to page by default
(after! pdf-tools (after! pdf-tools
(setq pdf-view-midnight-colors '("#BBC2CF" . "#282C34")) (setq pdf-view-midnight-colors '("#BBC2CF" . "#282C34"))
(setq-default pdf-view-display-size 'fit-width)
(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode)) (add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode))
;; Customize modeline ;; Customize modeline
(setq doom-modeline-major-mode-icon t (setq doom-modeline-major-mode-icon t