This article is written by SathiyaMoorthy.
This article is part of the ongoing Vi / Vim Tips and Tricks Series. I tend to make simple spelling mistakes while writing, as English is not my first language. Wouldn’t be nice if Vim editor can do the spelling correction automatically as you make a typo?
Note: I wish someone from
Nayv Navy football team read this article. Oh well, that would’ve still not fixed their problem.
In this article, let us review how to correct spelling mistakes automatically inside Vim editor.
This is a guest post written by SathiyaMoorthy
You can perform automatic word completion in Vim using Ctrl-x in insert or append mode. By typing the first few characters of a word you can get the whole word either from a dictionary, or a thesaurus, or even the words that are already present on the file that you are editing.
This article explains how to perform following operations with examples and screen shots:
- Word / pattern completion
- Line completion
- Dictionary word completion
- File name completion
- Filling up words with similar meaning (Thesaurus word completion).
This is a guest post written by SathiyaMoorthy.
Enabling thesaurus option for vi / vim will help you to choose alternate words from thesaurus. For example, while typing “important”, you may prefer to use a different word than “important”. Wouldn’t be nice if vi can give you few alternative words such as: “valuable” or “substantial” or “significant”?
This article explains how to use vi / vim effectively by enabling thesaurus option in three steps.