Using jk vs. jj for ESC Remapping in Vim by Steve Losh

November 16, 2012
vim_logo

Some people prefer using jj instead of jk, but I prefer jk for two reasons: jk is typed with two separate keys, so you can "roll" your fingers instead of using the same one twice, and pressing jk in normal mode out of habit will move down and then up, leaving you exactly where you started, whereas hitting jj in normal mode will move you to a different place in your file.

Compelling. I’m giving it a go. Lots of j’s showing up in my text right now though.

supporting = loving

Since 1999 I've been creating ad-free technical tutorials and essays here. It's a one-person effort that's also my life and livelihood. If it makes your day more livable in any way, please consider supporting the work with a monthly or one-time donation. Your support means a lot to me, and makes all the difference. 🫶🏼