]> git.armaanb.net Git - config.org.git/commitdiff
Add org-archive-subtree binding
authorArmaan Bhojwani <me@armaanb.net>
Sat, 29 May 2021 17:32:32 +0000 (13:32 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sat, 29 May 2021 17:32:32 +0000 (13:32 -0400)
config.org

index 24f55680ebc25d25c900f628a7c1856ef167628e..f002cd18c4ebe7b3f2c3122f5ab47562c67cb520 100644 (file)
@@ -235,7 +235,10 @@ Add back C-a/C-x bindings.
     (org-startup-indented t)
     (org-hide-emphasis-markers t)
     (org-fontify-whole-block-delimiter-line nil)
     (org-startup-indented t)
     (org-hide-emphasis-markers t)
     (org-fontify-whole-block-delimiter-line nil)
-    :bind ("C-c a" . org-agenda))
+    (org-archive-default-command 'org-archive-to-archive-sibling)
+    :bind
+    ("C-c a" . org-agenda)
+    (:map evil-normal-state-map ("ga" . org-archive-subtree-default)))
 #+end_src
 ** Tempo
 Define templates for lots of common structure elements. Mostly just used within this file.
 #+end_src
 ** Tempo
 Define templates for lots of common structure elements. Mostly just used within this file.