3 ms·
As a daily Emacs user, I find the key-chord package [0] very useful. For example, to save a buffer all I have to press is "hu" (at the same time). It's a simple
by elwell 7y ago
As a daily Emacs user, I find the key-chord package [0] very useful. For example, to save a buffer all I have to press is "hu" (at the same time). It's a simple thing, but saves a little time and lessens "emacs pinky"; I use it hundreds of times a day.
[0] - https://www.emacswiki.org/emacs/KeyChord https://www.emacswiki.org/emacs/KeyChord
In my .emacs.d - https://github.com/celwell/.emacs.d/blob/master/init.el#L261-L274 https://github.com/celwell/.emacs.d/blob/master/init.el#L261...
- dfee 7y agoIsn’t that awkward though? I type H and U with the same finger. So now this involves some strange wrist / arm rotation - or changing the way I type.
- 256 7y agoProbably elwell is a Dvorak user. hu is pressed with both index fingers in their home positions in Dvorak.
- dmortin 7y agoYou can use any other key combinations, or even pressing the same key twice.
- elwell 7y agoI just tap the 'h' with my index finger and the 'u' with my middle finger. To me, this is not really a reach, I just kind of slap it then observe how cljs figwheel updates my browser :)
- grep_name 7y agoI remember looking into this package when I was trying to find a way to organize all my commands in emacs, but found that what I'd actually wanted was to be able to make any key a modifier key. Like, if bn takes me to the next buffer, I wanted bnnn to take me three buffers over. I didn't expect it to be a dealbreaker, but over time it got more and more irritating to me. I wonder how hard it would be to modify the package to work that way. I guess you'd have to make it so it doesn't actually insert a letter until you release a key to establish it's not being used as a modifier, which I'm not sure if emacs is in control of