Automatically Switch to Normal Mode in 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.