Change theme to nord and recolor PDFs

This commit is contained in:
2019-12-26 01:09:55 +01:00
parent a8231133ee
commit 19963eeed8
2 changed files with 14 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
;;
;; Set Font and theme
(setq doom-font (font-spec :family "Iosevka" :size 16)
doom-theme 'doom-city-lights)
doom-theme 'doom-nord)
;; Start maximized
(add-to-list 'default-frame-alist '(fullscreen . maximized))
;; Set projects directories
@@ -34,10 +34,14 @@
;; Load org configuration
(after! org (load! "+org"))
;; Disable line numbers in Markdown
(add-hook 'markdown-mode-hook (lambda () (display-line-numbers-mode -1)))
(add-hook 'markdown-mode '(lambda () (display-line-numbers-mode -1)))
;; Reload file from disk without confirmation
(defun revert-buffer-no-confirm ()
(interactive)
(revert-buffer :ignore-auto :noconfirm))
;; Select target in Makefile compilation as default
(map! :leader :n "c c" #'makefile-executor-execute-project-target)
;; Match pdf-tools colors to the theme
(after! pdf-tools
(setq pdf-view-midnight-colors '("#ECEFF4" . "#2E3440"))
(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode))