Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Purchased the new MacBook and work with Vim? What did you do?
5 points by avitzurel on Nov 5, 2018 | hide | past | favorite | 7 comments
I have the older version of the MacBook pro and can now switch to the new one at work.

I work with Vim, meaning I use the ESC key quite often.

Do you have the new MBpro? Work with Vim? What did you do?



Remapped Caps Lock to Esc...


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.


I just checked - I'm actually using my left ring finger instead of my pinkie for some reason.


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?


Not really, I used ^C as an alternative to Esc for a while. Sadly, ^C isn't entirely the same as pressing Esc or ^] .


I ended up remapping `jj` to `ESC`. I use vim+tmux and so I remapped Caps Lock to CTRL.


How does that work? I had no idea you can map a combination to a key.




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

Search: