lang/org: reformat UI config; setq-default -> setq
This commit is contained in:
parent
7b9c13f25f
commit
bec1891a3d
1 changed files with 24 additions and 24 deletions
|
@ -83,30 +83,27 @@ path too.")
|
||||||
|
|
||||||
(defun +org-init-appearance-h ()
|
(defun +org-init-appearance-h ()
|
||||||
"Configures the UI for `org-mode'."
|
"Configures the UI for `org-mode'."
|
||||||
(setq-default
|
(setq org-indirect-buffer-display 'current-window
|
||||||
org-indirect-buffer-display 'current-window
|
org-eldoc-breadcrumb-separator " → "
|
||||||
org-eldoc-breadcrumb-separator " → "
|
org-enforce-todo-dependencies t
|
||||||
org-enforce-todo-dependencies t
|
org-entities-user
|
||||||
org-entities-user
|
'(("flat" "\\flat" nil "" "" "266D" "♭")
|
||||||
'(("flat" "\\flat" nil "" "" "266D" "♭")
|
("sharp" "\\sharp" nil "" "" "266F" "♯"))
|
||||||
("sharp" "\\sharp" nil "" "" "266F" "♯"))
|
org-fontify-done-headline t
|
||||||
org-fontify-done-headline t
|
org-fontify-quote-and-verse-blocks t
|
||||||
org-fontify-quote-and-verse-blocks t
|
org-fontify-whole-heading-line t
|
||||||
org-fontify-whole-heading-line t
|
org-footnote-auto-label 'plain
|
||||||
org-footnote-auto-label 'plain
|
org-hide-leading-stars t
|
||||||
org-hide-leading-stars t
|
org-hide-leading-stars-before-indent-mode t
|
||||||
org-hide-leading-stars-before-indent-mode t
|
org-image-actual-width nil
|
||||||
org-image-actual-width nil
|
org-list-description-max-indent 4
|
||||||
org-list-description-max-indent 4
|
org-priority-faces
|
||||||
org-priority-faces
|
'((?A . error)
|
||||||
'((?A . error)
|
(?B . warning)
|
||||||
(?B . warning)
|
(?C . success))
|
||||||
(?C . success))
|
org-startup-indented t
|
||||||
org-startup-indented t
|
org-tags-column -80
|
||||||
org-tags-column -80
|
org-use-sub-superscripts '{})
|
||||||
org-use-sub-superscripts '{}
|
|
||||||
;; Scale up LaTeX previews a bit (default is too small)
|
|
||||||
org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
|
||||||
|
|
||||||
(setq org-refile-targets
|
(setq org-refile-targets
|
||||||
'((nil :maxlevel . 3)
|
'((nil :maxlevel . 3)
|
||||||
|
@ -118,6 +115,9 @@ path too.")
|
||||||
org-refile-use-outline-path 'file
|
org-refile-use-outline-path 'file
|
||||||
org-outline-path-complete-in-steps nil)
|
org-outline-path-complete-in-steps nil)
|
||||||
|
|
||||||
|
;; Scale up LaTeX previews a bit (default is too small)
|
||||||
|
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
||||||
|
;; ...and fix their background w/ themes
|
||||||
(add-hook! 'doom-load-theme-hook
|
(add-hook! 'doom-load-theme-hook
|
||||||
(defun +org-refresh-latex-background ()
|
(defun +org-refresh-latex-background ()
|
||||||
"Previews are usually rendered with light backgrounds, so ensure their
|
"Previews are usually rendered with light backgrounds, so ensure their
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue