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,8 +83,7 @@ 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
|
||||||
|
@ -104,9 +103,7 @@ path too.")
|
||||||
(?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