lang/org: present full paths on org-refile
This makes refiling with multiple file targets far, far more palatable.
This commit is contained in:
parent
53433d9c37
commit
bb383d3ede
1 changed files with 10 additions and 1 deletions
|
@ -102,13 +102,22 @@ path too.")
|
|||
'((?A . error)
|
||||
(?B . warning)
|
||||
(?C . success))
|
||||
org-refile-targets '((nil :maxlevel . 4))
|
||||
org-startup-indented t
|
||||
org-tags-column -80
|
||||
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
|
||||
'((nil :maxlevel . 3)
|
||||
(org-agenda-files :maxlevel . 3))
|
||||
;; Without this, completers like ivy/helm are only given the first level of
|
||||
;; each outline candidates. i.e. all the candidates under the "Tasks" heading
|
||||
;; are just "Tasks/". This is unhelpful. We want the full path to each refile
|
||||
;; target! e.g. FILE/Task/heading/subheading
|
||||
org-refile-use-outline-path 'file
|
||||
org-outline-path-complete-in-steps nil)
|
||||
|
||||
(add-hook! 'doom-load-theme-hook
|
||||
(defun +org-refresh-latex-background ()
|
||||
"Previews are usually rendered with light backgrounds, so ensure their
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue