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; -*-
|
||||
;; Org mode configuration
|
||||
;;
|
||||
;; Change Org TODO keywords
|
||||
;; Change TODO keywords
|
||||
(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))
|
||||
org-ellipsis " ▼ "
|
||||
org-bullets-bullet-list '("◉" "⁖" "○" "‣"))
|
||||
;; Cycle through Org header visibility and disable completion
|
||||
;; Cycle through header visibility
|
||||
(after! evil-org
|
||||
(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
|
||||
(remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h))
|
||||
(add-hook 'org-mode-hook (lambda () (display-line-numbers-mode -1)))
|
||||
;; Tailor Org super agenda
|
||||
(use-package! org-super-agenda
|
||||
|
@ -28,3 +26,7 @@
|
|||
:config
|
||||
(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
|
||||
(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))
|
||||
|
|
Loading…
Reference in New Issue