Move ui config to another file
This commit is contained in:
parent
1fdc137b51
commit
4c8415e4fe
3
+org.el
3
+org.el
|
@ -33,3 +33,6 @@
|
|||
(setq org-startup-with-inline-images t)
|
||||
;; Add timestamp to DONE task
|
||||
(setq org-log-done 'time)
|
||||
;; Print babel results to the buffer
|
||||
(setq org-babel-default-header-args '((:session . "none") (:results . "output") (:exports . "code")
|
||||
(:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no")))
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
;;; ~/.doom.d/+ui.el -*- lexical-binding: t; -*-
|
||||
;; Appearance settings
|
||||
;; 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))
|
||||
;; 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
|
||||
(after! pdf-tools
|
||||
(setq pdf-view-midnight-colors '("#ECEFF4" . "#2E3440"))
|
||||
(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode))
|
||||
;; Customize modeline
|
||||
(setq doom-modeline-major-mode-icon t
|
||||
doom-modeline-persp-name t
|
||||
doom-modeline-buffer-encoding nil)
|
19
config.el
19
config.el
|
@ -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)
|
||||
|
|
2
init.el
2
init.el
|
@ -117,7 +117,7 @@
|
|||
;;(haskell +dante) ; a language that's lazier than I am
|
||||
;;hy ; readability of scheme w/ speed of python
|
||||
;;idris ;
|
||||
(java +meghanada) ; the poster child for carpal tunnel syndrome
|
||||
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
|
||||
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||
;;julia ; a better, faster MATLAB
|
||||
;;kotlin ; a better, slicker Java(Script)
|
||||
|
|
Loading…
Reference in New Issue