Hacker News new | past | comments | ask | show | jobs | submit login

The first thing I put in my .vimrc on any system:

  inoremap jk <ESC>
I learned it through Spacemacs and it's one of the things that really made modal editing work for me, so I was thrilled to discover that Vim itself also supports it. (I'd tried to learn Vim before, but always having to jump over to the Escape key was a huge downer for me, and coming from Emacs I'd already mapped my CapsLock to Ctrl--though the idea of having it be Esc if pressed by itself is intriguing and I need to look into it more!)



I use jk too. Happy with it. My .vimrc has this: set <esc>=jk I wonder what the difference is.




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

Search: