Posts tagged as:

Vi Hacks

Vim Word Completion Tips and Tricks
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 are already present on the file that you are editing.

This article explains how to perform following operations with examples and screen shots:

  1. Word / pattern completion
  2. Line completion
  3. Dictionary word completion
  4. File name completion
  5. Filling up words with similar meaning (Thesaurus word completion).

(more…)

{ 9 comments }