News for hackers. Stuff that matters.
Re:916 Days of Emacs by smokel on Thursday April 13, 2023 @02:42PM (#35560127)
Many people who use Emacs a lot make CapsLock an additional Ctrl. Using your left-hand little finger makes it trivial to use C-p, C-n, C-f, C-b as cursor keys.
Re:916 Days of Emacs by cartoonfoxes on Thursday April 13, 2023 @03:17PM (#35560709)
I've always just used the palm of my hand. You can work a keyboard with more surfaces than just your fingertips.
Re:916 Days of Emacs by ejolto on Thursday April 13, 2023 @04:49PM (#35561869)
Lots of vim users do that too, in fact the ADM-3A terminal vi was written on had ctrl where caps-lock is now and escape where tab is.
Re:916 Days of Emacs by lanstin on Thursday April 13, 2023 @05:04PM (#35562039)
I never thought of making tab be alt/escape. Hmm.
Re:916 Days of Emacs by _TwoFinger on Thursday April 13, 2023 @08:06PM (#35563873)
ADM-3A also has

- the : key to the right of the 0 on the number row, no Shift needed.

- the Enter key to the right of the P.

I've made both changes to my keyboard layout and, not surprisingly, it's quite convenient.

Downside is, you'll have to move the original keys somewhere else. But since I already intended to totally reshuffle all the non-alpha keys for RSI reasons, it wasn't an issue for me.

Re:916 Days of Emacs by jayshua on Thursday April 13, 2023 @10:58PM (#35565026)
I'm in the process of rearranging my keyboard due to occasional mild pain. Mind if I ask what layout you ended up with for the other keys? Any experience with the more esoteric arrangements like triggering modifiers when holding down the home row keys?
Re:916 Days of Emacs by _TwoFinger on Friday April 14, 2023 @02:47AM (#35566307)
Here is my current keyd configuration (on US QWERTY hardware): https://dpaste.org/aGp3o/slim (I'm not entirely happy with it, though.)

The one thing I wanted the most was to avoid any long presses. Everything that requires holding a modifier, even if I do it touch-typing style, with the opposite hand, is unpleasant (to me). So, besides moving most of the punctuation characters to lowercase positions, I also switched to sticky modifiers. (keyd might have some flaws wrt sticky modifiers, and they... get stuck. Not when I want them to be. I might try to go back to XKB.)

Regarding the home-row modifiers, I've only tried moving Control there. I always ended up triggering it by mistake when typing, because when you are typing fast, there is an almost unavoidable overlap in certain sequences, you press the next key before fully releasing the previous key. Some people advice practicing, other software provides various options with timeouts, it's a rabbit hole of work-arounds. So I settled with sticky modifiers.