Vim Editor Examples

8 Essential Vim Editor Navigation Fundamentals

by Ramesh Natarajan on March 6, 2009

Vim Vi 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 the following 8 Vi / Vim navigation options.

  1. Line navigation
  2. Screen navigation
  3. Word navigation
  4. Special navigation
  5. Paragraph navigation
  6. Search navigation
  7. Code navigation
  8. Navigation from command line

(more…)

Vi and Vim Macro Tutorial: How To Record and Play

by SathiyaMoorthy on January 16, 2009

Vim Macros - Record and Play
Using Vim Macro feature you can record and play a sequence of actions inside the editor.

This article explains how to perform record and play inside Vi and Vim editor using two detailed examples.
(more…)