Last Updated: February 25, 2016
·
1.351K
· originell

Vim auto correct

Most people have words they misspell nearly every time. Vim can help you with that easily. We will (ab)use vim's text expand feature. In your .vimrc:

iab teh the

and from now on it should automagically correct that.

iab is shortform for iabbrev. There is also autocorrect.vim which aims to build a database full of such things.