News for hackers. Stuff that matters.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore by JoshMnem on Friday October 28, 2016 @04:24PM (#12820283)
I've tried ctrl-c, ctrl-[, and ESC. The one that stuck for me was ESC. The others usually don't work in other programs that use vim keybindings.

Many people already map capslock to ctrl. You could map ctrl to ESC, but then it gets uncomfortable when switching computers, and it goes against 10+ years of muscle memory.

I tried remapping capslock once, but it got too confusing when switching computers.

Re:New MacBook Pro Is Not a Laptop for Developers Anymore by ljones140 on Sunday October 30, 2016 @01:32PM (#12831022)
I am a developer who writes code while in tmux and vim. I have remapped my Caps Lock key so it's Ctrl when presses with another key and Escape when pressed on it's own.

I used this software to do this https://pqrs.org/osx/karabiner/