-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only assume "C-"-prefix for the first part of a command sequence #73
Comments
Correction:
IME commands that require SPC are rare by comparison to the vast number of basic commands that are C-a C-b. Are you sure this would be a real benefit? |
(See here for the |
We must just be using different commands a lot. :) And yeah I know about that split-window keybinding. And it sure make sense to rebind a few commands to fit with god-mode but for me that would be almost all commands I use on a daily basis. What I'd do if |
I agree with Chris re this. I use a lot of C-i C-j C-k stuff. And, since I've been using god mode for a while, my new commands also usually are in that form. But, more importantly: how would you distinguish between a sequence of separate C- commands vs one C-initiated command sequence? For example C-e C-t C-b C-m (go to end of line, switch the two characters, go to beginning of line, insert new line) in god mode now is just etbm. |
I also use a lot of commands like But I also do a bunch of I have no idea about the technical implications of this. A while after I posted this issue I switched to control-mode instead which largely solves this issue for me (while at the same time feeling a bit more hacky :/ ). Anyways, I'm personally totally fine with just closing this issue. If I decide to work on this I can always fork. :) |
I would like to draw some attention to meow. Their keypad mode is very similar to god-mode, only it infers the next key-bind. You only need to be explicit with conflicting key-binds. I think it's a feature god-mode can benefit from. https://github.com/meow-edit/meow/blob/master/meow-keypad.el#L366 |
Meow borrowed this idea from a fork of god-mode. But there's also some bugs involved, so I forked and had a fix. |
I want |
Someone on #emacs told me about "devil-mode" which might be more what you want, @mattiasb. This difference is actually why I decided to stay with god-mode. One thing I've been wondering is… in message-mode there's |
Most keybindings I use (standard and nonstandard) are in the following form:
C-c₁ c₂ c₃ c₄ …
That is, only the first part of the command demands me holding down Ctrl.
I would love to be able to tell
god-mode
to skip Ctrl (like it does now) but only for the first part of a command sequence and then instead force me to actually use Ctrl (or space?) in the few places where Ctrl is needed for more than the first part of a sequence.Or by example:
Current
god-mode
rectangle-kill
: x SPC r SPC ksplit-window-below
: x SPC 2insert-register
: x SPC r SPC ifind-file
: xfsave-buffer
: xsgod-mode
with my proposed settingrectangle-kill
: xrksplit-window-below
: x2insert-register
: xrifind-file
: x C-f or x SPC fsave-buffer
: x C-s or x SPC sI understand that
find-file
andsave-buffer
are very common commands, but you can easily swap those two withset-fill-column
andsave-some-buffers
with a modified keybinding. My experience tells me that the number of keybindings I'd want to change would be fewer this way (meaning less configuration).Hope this makes sense, and thanks for a cool project!
The text was updated successfully, but these errors were encountered: