Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> FYI: Remap your capslock key to escape to use Vim more effectively.

That's more one way of doing things rather than a "FYI". Eg I switched capslock with ctrl. There are many ways to exit insert mode, I prefer:

  inoremap jk <esc>
  inoremap kj <esc>


I use that mapping all of the time, it is also helpful to use

inoremap <esc> <nop> as this helps you train your fingers to stop using <esc>




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

Search: