boon icon indicating copy to clipboard operation
boon copied to clipboard

more options for C-x and C-c behavior

Open jasonperry opened this issue 1 year ago • 5 comments

Thanks very much for boon, after much research it's the modal package that best fits my needs, especially with the C-x and C-c bindings.

My feature request is to provide more options for how the C-x and C-c maps work. Specifically:

  • Have a setting or alternate functions that provide the opposite behavior for whether Ctrl is held for subsequent keys. This is more important for c-god, but if it could be implemented for boon-x-map as well, it would mean fewer custom keybinds would need to be made.
  • Optionally, have a key to toggle whether Ctrl is held for subsequent keys, like Space does in god-mode.

jasonperry avatar Dec 23 '23 16:12 jasonperry

agree ...Boon is from my perspective very underrated. It strikes the right balance between keeping Emacs keybindings and having some nice modal functions

YassinRian avatar Jan 04 '24 07:01 YassinRian

So, to clarify, you'd like c a to do C-c a and not C-c C-a, for instance?/

jyp avatar Jan 07 '24 12:01 jyp

So, to clarify, you'd like c a to do C-c a and not C-c C-a, for instance?/

Yes, that's right, as an option. I know there are lots of existing bindings for both cases, so maybe there should be two separate functions.

jasonperry avatar Jan 07 '24 14:01 jasonperry

After some more time with boon, I'm concluding that you made the right default choice in not having the C-x map hold Ctrl for subsequent keys, and the C-c map have it. I just needed a few additional keybindings to cover all my remaining use cases. Feel free to close.

jasonperry avatar Feb 02 '24 01:02 jasonperry

Make use of Hydra's ...they will give you extra super powers:) ...you can attach all kind of hydra's to the menu chars w / e / g.

YassinRian avatar Feb 17 '24 15:02 YassinRian