News for hackers. Stuff that matters.
Re:Forty Years of Programming by Zamiel_Snawley on Sunday October 08, 2023 @09:25PM (#37815979)
Caps lock is such a waste of prime keyboard real estate, even for non-vim users!

For those who don’t use vim, just switching caps lock and control is probably better so you can copy and paste with less contortion.

For vim users, I highly recommend remapping caps lock to be control when held, and escape when tapped.

Re:Forty Years of Programming by el_benhameen on Sunday October 08, 2023 @11:45PM (#37816743)
I jump between using a Mac and a Windows machine for development. Remapping capslock to ctrl/cmd feels more ergonomic, and has the added benefit of making it so I don’t have to remember which machine I’m on.
Re:Forty Years of Programming by alentred on Monday October 09, 2023 @08:35AM (#37819786)
> caps lock to be control when held, and escape when tapped

Ooh, nice! How do you map it in Vim? Or in MacOS?

I always remap caps lock to control because, Vim or not, I still need control-something all the time. But I always wanted to remap esc to something closer to the home row, but never did since caps lock was already taken :) How do you map the held/tapped keys separately?

Re:Forty Years of Programming by whhuh on Monday October 09, 2023 @07:46PM (#37826889)
Thank you!! I just remapped caps lock to esc and I think I'm in heaven. I've always thought esc was painfully far away, but never thought to remap caps lock.