Change theme to nord and recolor PDFs
This commit is contained in:
parent
a8231133ee
commit
19963eeed8
14
+org.el
14
+org.el
|
@ -1,17 +1,15 @@
|
||||||
;;; ~/.doom.d/+org.el -*- lexical-binding: t; -*-
|
;;; ~/.doom.d/+org.el -*- lexical-binding: t; -*-
|
||||||
;; Org mode configuration
|
;; Org mode configuration
|
||||||
;;
|
;;
|
||||||
;; Change Org TODO keywords
|
;; Change TODO keywords
|
||||||
(setq org-todo-keywords '((sequence "TODO" "NEXT" "WAITING" "INACTIVE" "|" "DONE" "CANCELLED")))
|
(setq org-todo-keywords '((sequence "TODO" "NEXT" "WAITING" "INACTIVE" "|" "DONE" "CANCELLED")))
|
||||||
;; Rice Org elements
|
;; Rice elements
|
||||||
(setq org-todo-keyword-faces '(("INACTIVE" . "grey") ("NEXT" . "turquoise") ("WAITING" . warning))
|
(setq org-todo-keyword-faces '(("INACTIVE" . "grey") ("NEXT" . "turquoise") ("WAITING" . warning))
|
||||||
org-ellipsis " ▼ "
|
org-ellipsis " ▼ "
|
||||||
org-bullets-bullet-list '("◉" "⁖" "○" "‣"))
|
org-bullets-bullet-list '("◉" "⁖" "○" "‣"))
|
||||||
;; Cycle through Org header visibility and disable completion
|
;; Cycle through header visibility
|
||||||
(after! evil-org
|
(after! evil-org
|
||||||
(remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h)
|
(remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h))
|
||||||
(remove-hook 'org-mode-hook #'auto-fill-mode))
|
|
||||||
;; Turn off line numbers in Org and Markdown
|
|
||||||
(add-hook 'org-mode-hook (lambda () (display-line-numbers-mode -1)))
|
(add-hook 'org-mode-hook (lambda () (display-line-numbers-mode -1)))
|
||||||
;; Tailor Org super agenda
|
;; Tailor Org super agenda
|
||||||
(use-package! org-super-agenda
|
(use-package! org-super-agenda
|
||||||
|
@ -28,3 +26,7 @@
|
||||||
:config
|
:config
|
||||||
(org-super-agenda-mode)
|
(org-super-agenda-mode)
|
||||||
)
|
)
|
||||||
|
;; Show inline images by default
|
||||||
|
(setq org-startup-with-inline-images t)
|
||||||
|
;; Add timestamp to DONE task
|
||||||
|
(setq org-log-done 'time)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
;;
|
;;
|
||||||
;; Set Font and theme
|
;; Set Font and theme
|
||||||
(setq doom-font (font-spec :family "Iosevka" :size 16)
|
(setq doom-font (font-spec :family "Iosevka" :size 16)
|
||||||
doom-theme 'doom-city-lights)
|
doom-theme 'doom-nord)
|
||||||
;; Start maximized
|
;; Start maximized
|
||||||
(add-to-list 'default-frame-alist '(fullscreen . maximized))
|
(add-to-list 'default-frame-alist '(fullscreen . maximized))
|
||||||
;; Set projects directories
|
;; Set projects directories
|
||||||
|
@ -34,10 +34,14 @@
|
||||||
;; Load org configuration
|
;; Load org configuration
|
||||||
(after! org (load! "+org"))
|
(after! org (load! "+org"))
|
||||||
;; Disable line numbers in Markdown
|
;; 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
|
;; Reload file from disk without confirmation
|
||||||
(defun revert-buffer-no-confirm ()
|
(defun revert-buffer-no-confirm ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(revert-buffer :ignore-auto :noconfirm))
|
(revert-buffer :ignore-auto :noconfirm))
|
||||||
;; Select target in Makefile compilation as default
|
;; Select target in Makefile compilation as default
|
||||||
(map! :leader :n "c c" #'makefile-executor-execute-project-target)
|
(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))
|
||||||
|
|
Loading…
Reference in New Issue