• Home
  • Archive
  • Feed
  • About
  • Contact

Automatically switch to normal mode in vim

Posted by
Jack
on 17 February 2010. Tags: vim

When learning vim, it’s really hard to resist the temptation to stay in insert mode and use it like a normal text editor. Add the following to your .vimrc, and vim will enter normal mode after a few seconds of inactivity, effectively forcing you to use it properly: au CursorHoldI * stopinsert.

  • ← The Dropbox API is Coming
  • A new global visual language for the BBC's digital services →