Group PDF settings in a single block

This commit is contained in:
coolneng 2025-10-29 17:29:55 +01:00
parent 8ceaf658a1
commit e345429a48
Signed by: coolneng
GPG Key ID: 9893DA236405AF57

6
+ui.el
View File

@ -6,9 +6,11 @@
;; Display Magit status in fullscreen
(after! magit
(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1))
;; Match pdf-tools colors to the theme and fit to page by default
;; Match pdf-tools colors to the theme, fit to page by default and enable smooth scrolling
(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-roll-minor-mode))
;; Customize modeline
(setq doom-modeline-major-mode-icon t
doom-modeline-buffer-encoding nil)