News for hackers. Stuff that matters.
Re:Ask HN: Purchased the new MacBook and work with Vim? What... by lkurusa on Monday November 05, 2018 @10:41AM (#18383121)
Remapped Caps Lock to Esc...
Re:Ask HN: Purchased the new MacBook and work with Vim? What... by snazz on Monday November 05, 2018 @10:45AM (#18383171)
The contortion required to get your pinkie up to escape versus just pressing caps lock is pretty significant. Some people say that they get “vim pinkie” RSI as a result of making that awkward movement, the same as Emacs pinkie on Ctrl in the bottom left.
Re:Ask HN: Purchased the new MacBook and work with Vim? What... by lkurusa on Monday November 05, 2018 @10:46AM (#18383185)
I just checked - I'm actually using my left ring finger instead of my pinkie for some reason.
Re:Ask HN: Purchased the new MacBook and work with Vim? What... by avitzurel on Monday November 05, 2018 @10:44AM (#18383156)
I thought about that, I have it mapped to CTRL. I also have the muscle memory to reach for the ESC.

Did you have it mapped this way on a previous computer?

Re:Ask HN: Purchased the new MacBook and work with Vim? What... by lkurusa on Monday November 05, 2018 @10:47AM (#18383192)
Not really, I used ^C as an alternative to Esc for a while. Sadly, ^C isn't entirely the same as pressing Esc or ^] .
Re:Ask HN: Purchased the new MacBook and work with Vim? What... by AngeloR on Monday November 05, 2018 @10:43AM (#18383151)
I ended up remapping `jj` to `ESC`. I use vim+tmux and so I remapped Caps Lock to CTRL.
Re:Ask HN: Purchased the new MacBook and work with Vim? What... by avitzurel on Monday November 05, 2018 @10:44AM (#18383164)
How does that work? I had no idea you can map a combination to a key.