You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The snake-case-start signals that the next words are to be interpreted for this feature and remembers the position in the buffer at the time you've called it. The snake-case-transform accepts a char, deletes the buffer contents starting from the remembered position up to the current position and then inserts back that content but with spaces replaced with the new char.
Interactive functions, for different replacement chars would then look like,
There was some talk on the SplitKB discord about how this was probably something that was best suited for an IDE/editor, so an Emacs implementation is neat to see.
I guess the only thing missing here is camel case support, though frankly I don't really use x-case for that since one shot shift works just as well, so perhaps it's just not necessary.
I saw your X-Case feature and though about implementing it in Emacs, just for fun.
The
snake-case-start
signals that the next words are to be interpreted for this feature and remembers the position in the buffer at the time you've called it. Thesnake-case-transform
accepts achar
, deletes the buffer contents starting from the remembered position up to the current position and then inserts back that content but with spaces replaced with the newchar
.Interactive functions, for different replacement
char
s would then look like,These can then be mapped nicely on a QMK keyboard if you key-bind them, with no extra features needed on the C-side of things.
The text was updated successfully, but these errors were encountered: