Vi and Vim Macro Tutorial: How To Record and Play
Jan 18, 2009, 04:04 (6 Talkback[s])
[ Thanks to An Anonymous Reader for
this link. ]
"High Level Steps to Record and Play inside Vim
- "Start recording by pressing q, followed by a lower case
character to name the macro
- Perform any typical editing, actions inside Vim editor, which
will be recorded
- Stop recording by pressing q
- Play the recorded macro by pressing @ followed by the macro
name
- To repeat macros multiple times, press : NN @ macro name. NN is
a number"
Complete Story
Related Stories: