Hacker News new | past | comments | ask | show | jobs | submit login

I can't use any keyboard without my favorite mappings:

1. caps lock --> escape / ctrl

2. right command + h/j/k/l --> arrow keys

3. left/right shift --> left/right parenthesis

Source: https://github.com/harsilspatel/dotfiles




I've almost entirely purged non-defaults from my workflow, but I still go for CapsLock->Ctrl.

On mac, it's a menu in preferences. On windows, I have to download a program. On linux, there are 30 different programs and config files to do it and the linux community seems to be perpetually at war with them, with 25 of them silently or loudly broken at any given moment. The only one that works reliably, setxkbmap, is temporary.

Still worth it!


> On linux, there are 30 different programs and config files to do it and the linux community seems to be perpetually at war with them, with 25 of them silently or loudly broken at any given moment. The only one that works reliably, setxkbmap, is temporary.

I got used to this on Mac and was kinda shocked how difficult it was to make it work everywhere on Linux, when I last tried it about 18 months ago. I spent (well, wasted) a lot of time digging through suggestions for how to do it, half of which didn't work and the rest of which only worked some places. On a new Mac it takes maybe 20 seconds to configure, simply using the GUI, and that's it.


Maybe I'm missing something: how do you make uppercase letters?


This is part of the "space cadet" layout which I also use. The shift keys only function as parentheses when you tap the key (i.e. press and release without tapping another key in the meantime). It means that the character is typed when you physically lift the key instead of pressing it but worth it.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: