Vim Map

Vim - Macro, Mark & MapThis 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.

  1. Macro for recording a job and repeating it.
  2. Mark for bookmarking a particular position in a file and then coming back to it.
  3. Map for mapping a job to a key, and then executing that job by that key.

In this article, let us look at various features of Vim’s Macro, Mark and Map along with practical examples.
(more…)

{ 8 comments }