≡ Menu

vi command

Vim Editor: How to Correct Spelling Mistakes Automatically

Photo courtesy of shandrew 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 [...]

{ 9 comments }

8 Essential Vim Editor Navigation Fundamentals

Photo courtesy of Håkan Dahlström This article is written by SathiyaMoorthy. This article is part of the ongoing Vi / Vim Tips and Tricks series. Navigation is a vital part of text editing. To be very productive, you should be aware of all possible navigation shortcuts in your editor. In this article, let us review [...]

{ 16 comments }

This article is written by SathiyaMoorthy This article is part of the ongoing Vi / Vim Tips and Tricks series. There are 3 powerful M’s in VIM — Macro, Mark, and Map. Each is intended for a separate job. Macro for recording a job and repeating it. Mark for bookmarking a particular position in a [...]

{ 8 comments }

Photo courtesy of Dominik Gwarek 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 [...]

{ 16 comments }

This is a guest post written by Lakshmanan G. This article is part of the ongoing Vi / Vim Tips & Tricks series. Using autocommand feature in Vi / Vim, you can specify some Vim commands to be executed automatically while reading or writing a file, or while entering/leaving a buffer/window, or while exiting Vim. [...]

{ 6 comments }

Vi and Vim Editor: 3 Steps To Enable Thesaurus Option

Photo courtesy of dantesz 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 [...]

{ 13 comments }