Spell checking in “vi or vim” editor.

Some times while editing any configuration files on linux or unix server, we need to do check spellings. For that we go for help of dictionary.
But we can do this in vi editor itself, while editing it.
Just for checking open one test.txt file with vi editor.
type some wrong spell in it.
Now save this file with :w! ( Press enter )
Now do : !spell -b ( press enter )
Check the bottom line you will get the wrong spell’s list over here.

Cool na !

Enjoy vi editor.

Share this post

Post Comment