I do like modal editing, but I prefer to roll my own. Currently it’s bastardized boon
(with my own bindings copy & pasted from boon), but I might switch to ryo-modal
. Anyways, the reason I don’t just use evil is:
- don’t like historical vi bindings and try to be more ergonomic (ijkl for arrows, etc)
- kakoune-like motion-action logic makes sense to me
- I mean, why use emacs at all if you don’t make it your own?
To the point: What’s the most idiomatic/logical/safe way to make SPC
in a command mode? E.g., with boon, the simplest way to bind something is (define boon-command-map "SPC" ...)
. But what to bind? (There’s also a boon-command-state
variable you could check, but I don’t know if you can “fall through” from a global key handler if that variable is not set.