Move ui config to another file

This commit is contained in:
2020-01-06 10:20:20 +01:00
parent 1fdc137b51
commit 4c8415e4fe
4 changed files with 29 additions and 13 deletions

View File

@@ -2,11 +2,8 @@
;; Place your private configuration here
;;
;; Set Font and theme
(setq doom-font (font-spec :family "Iosevka Medium" :size 16)
doom-theme 'doom-nord)
;; Start maximized
(add-to-list 'default-frame-alist '(fullscreen . maximized))
;; Load appearance configuration
(load! "+ui")
;; Set projects directories
(setq projectile-project-search-path '("~/Sync/Projects"))
; Auto cleanup recentf
@@ -19,9 +16,6 @@
(setq magit-repository-directories '(("~/Projects" . 2)
("~/.dotfiles" . 0)
("~/.doom.d" . 0)))
;; Display Magit status in fullscreen
(after! magit
(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1))
;; Load org configuration
(after! org (load! "+org"))
;; Disable line numbers and completion in Markdown
@@ -34,7 +28,8 @@
(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))
;; Choose docsets for Python
(after! python
(set-docsets! 'python-mode "Python 3" "NumPy" "SciPy" "Pandas" "SQLAlchemy"))
;; Align columns in CSV mode
(add-hook 'csv-mode-hook 'csv-align-mode)