Move pdf-tools config to +ui
This commit is contained in:
parent
60e45e6874
commit
10428092bd
3
+ui.el
3
+ui.el
|
@ -6,9 +6,10 @@
|
||||||
;; Display Magit status in fullscreen
|
;; Display Magit status in fullscreen
|
||||||
(after! magit
|
(after! magit
|
||||||
(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1))
|
(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1))
|
||||||
;; Match pdf-tools colors to the theme
|
;; Match pdf-tools colors to the theme and fit to page by default
|
||||||
(after! pdf-tools
|
(after! pdf-tools
|
||||||
(setq pdf-view-midnight-colors '("#ECEFF4" . "#2E3440"))
|
(setq pdf-view-midnight-colors '("#ECEFF4" . "#2E3440"))
|
||||||
|
(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
|
||||||
|
|
|
@ -72,7 +72,5 @@
|
||||||
"--header-insertion=never"
|
"--header-insertion=never"
|
||||||
"--header-insertion-decorators=0"))
|
"--header-insertion-decorators=0"))
|
||||||
(after! lsp-clangd (set-lsp-priority! 'clangd 2))
|
(after! lsp-clangd (set-lsp-priority! 'clangd 2))
|
||||||
;; Fit PDF to width by default
|
|
||||||
(setq-default pdf-view-display-size 'fit-width)
|
|
||||||
;; Use relative line numbers (Usage: number <j/k>)
|
;; Use relative line numbers (Usage: number <j/k>)
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
|
|
Loading…
Reference in New Issue