tweak(org): honor default command when archiving
Change the binding for archiving to `org-archive-subtree-default`, which is the recommend "catch-all" command in the org manual. The user can specify the actual command in `org-archive-default-command`. The default for this variable is `org-archive-subtree`, which we previously used for the binding, so this commit changes behavior only for users who have set `org-archive-default-command` explicitly.
This commit is contained in:
parent
e3deab3e21
commit
b00a01ea06
1 changed files with 2 additions and 2 deletions
|
@ -957,7 +957,7 @@ between the two."
|
||||||
(:when (modulep! :completion vertico)
|
(:when (modulep! :completion vertico)
|
||||||
"." #'consult-org-heading
|
"." #'consult-org-heading
|
||||||
"/" #'consult-org-agenda)
|
"/" #'consult-org-agenda)
|
||||||
"A" #'org-archive-subtree
|
"A" #'org-archive-subtree-default
|
||||||
"e" #'org-export-dispatch
|
"e" #'org-export-dispatch
|
||||||
"f" #'org-footnote-action
|
"f" #'org-footnote-action
|
||||||
"h" #'org-toggle-heading
|
"h" #'org-toggle-heading
|
||||||
|
@ -1090,7 +1090,7 @@ between the two."
|
||||||
"n" #'org-narrow-to-subtree
|
"n" #'org-narrow-to-subtree
|
||||||
"r" #'org-refile
|
"r" #'org-refile
|
||||||
"s" #'org-sparse-tree
|
"s" #'org-sparse-tree
|
||||||
"A" #'org-archive-subtree
|
"A" #'org-archive-subtree-default
|
||||||
"N" #'widen
|
"N" #'widen
|
||||||
"S" #'org-sort)
|
"S" #'org-sort)
|
||||||
(:prefix ("p" . "priority")
|
(:prefix ("p" . "priority")
|
||||||
|
|
Loading…
Reference in a new issue