summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-config.org')
-rw-r--r--emacs-config.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs-config.org b/emacs-config.org
index 6095938..29746fb 100644
--- a/emacs-config.org
+++ b/emacs-config.org
@@ -1281,6 +1281,21 @@ Encrypt file on save.
(org-crypt-use-before-save-magic))
#+end_src
+** Org Refile
+Display filename on refile target and enable instant completion.
+#+begin_src elisp
+ (with-eval-after-load 'org-refile
+ (setq-default
+ org-refile-use-outline-path 'file
+ org-outline-path-complete-in-steps nil))
+#+end_src
+
+Increase refile depth for current buffer and agenda files.
+#+begin_src elisp
+ (cl-pushnew '(nil :maxlevel . 9) org-refile-targets)
+ (cl-pushnew '(org-agenda-files :maxlevel . 9) org-refile-targets)
+#+end_src
+
** Diff-mode
Rebind diff-mode's ~diff-goto-source~ keybinding (due to conflict with =M-o=).
Add version control next action shortcut in diff-mode buffer.