summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 378e2aa..ab1280c 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -2,9 +2,9 @@
:ensure nil ;; package is bundled with emacs
:bind (("C-c c" . org-capture)
("C-c a" . org-agenda)
- ("C-c y" . org-archive-subtree)
("C-c l" . org-store-link)
("C-c f" . org-indent-region)
+ ("C-c o a" . org-archive-subtree)
("C-c o s" . org-save-all-org-buffers))
:config
;; file and tree where archived tasks should be moved
@@ -14,6 +14,9 @@
(unless (version< org-version "9.4")
(setq org-archive-subtree-save-file-p t))
+ ;; sparse tree construction shows matches in archived trees
+ (setq org-sparse-tree-open-archived-trees t)
+
;; display all org files in agenda
(setq org-agenda-files (list org-directory))
@@ -54,6 +57,12 @@
;; complete tags from all agenda files
(setq org-complete-tags-always-offer-all-agenda-tags t)
+ ;; search headlines via completion
+ (setq org-goto-interface 'outline-path-completion)
+
+ ;; include the full path when searching headlines
+ (setq org-outline-path-complete-in-steps nil)
+
;; hide todo entries whose deadline is far away according to
;; org-deadline-warning-days
(setq org-agenda-todo-ignore-deadlines 'far)