Re:16-inch MacBook Pro
by DogLover_ on Wednesday November 13, 2019 @09:17AM
(#21524292)
This argument as THE SOLUTION really needs to stop. As an example I mapped caps to ctrl a long time ago so this won't work without compromises.
[ Parent
| on HN ]
Right? The solution is 'make the fuckin keyboard work'. These are workarounds.
I have twenty... seven, Jesus. Twenty seven years of muscle memory with VI. The only keyboard I can't 'vote with my feet' on is the built-in one on my laptop. As a result I'm hardly ever using my laptop untethered now. I don't think I've ever owned a keyboard I've typed less on than the touchbar macbook. Which means I'm barely using them as laptops, which is a little depressing.
You can use Karbiner to have a short press of caps lock map to escape and a long press to control. Works pretty good.
Re:16-inch MacBook Pro
by 2muchcoffeeman on Wednesday November 13, 2019 @03:41PM
(#21529297)
I almost never use caps lock so I just mapped caps to esc and hold shift for all caps. The no escape thing doesn’t bother me anymore.
Yep - I have mine set to be control if pressed with other keys, and escape if pressed alone. Works for everything except if I'm playing a videogame that uses ctrl to crouch.
Other people argue that all real vimmers use ctrl-[ instead of escape.
Edit: This is on a 2015 macbook pro, that still has the physical function keys. I almost never use the physical escape key, just capslock instead.
Is there a guide on this?
Install Karabiner-Elements. Go to the "complex modifications" tab. Add "Change caps_lock to control if pressed with other keys, to escape if pressed alone".
Thanks mate.