boon
boon copied to clipboard
RFI: bindings for Org mode heading management
Org mode binds the org-{shift,}{meta,}{up,down,right,left}
commands to their namesake key combinations.
Using these commands is something that I end up doing a lot when editing Org document (they let me move and promote heading, toggle todo state, nest list items, and so on). But the bindings are really awkward from a Boon/modal-editing point of view.
This issue is me crowdsourcing how other users of Boon have chosen to bind these operations. In order to come up with a solution which I will like.
So, what are you using for these?
I am simply using M-{key I use for moving in boon-moves-map}. Relevant configuration:
- https://github.com/yantar92/emacs-config/blob/master/config.org#modal-setup
- https://github.com/yantar92/emacs-config/blob/master/config.org#move-lines-elements-around
- https://github.com/yantar92/emacs-config/blob/master/config.org#key-combinations
I am in the process of putting this kind of functionality here: https://github.com/jyp/dap Not quite ready yet.
The functionality is in https://github.com/jyp/cmap, with a lot more stuff. I suggest you bind an easy to assess key such as <return>
to cmap-cmap
.