I like that idea. It's consistent, uses "prior art", so to speak, and most of all , archiving involves cutting the subtree, so it's a very similar change to the buffer / structure.


On Sun, Sep 15, 2024, 07:44 Ihor Radchenko <yantar92@posteo.net> wrote:
Dan Drake <dan.drake@gmail.com> writes:

> "AFAIU, what you are struggling with is that you sometimes press "k" by
> accident, without aiming to cut the subtree. Is my understanding correct?"
>
> Yes, that's correct. Sometimes I'd use the speed key accidentally and
> cut the subtree.

Then, what about introducing something similar to
`org-agenda-archive-default-with-confirmation' -
`org-cut-subtree-with-confirmation' that will query user?
Then, you can bind it to "k" in `org-speed-commands' if it is what you
prefer.

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>