Macros in Vim

Posted on June 06, 2007 in Vim

Ever wondered what this recording means when you accidentally hit the q-key and then another key ?

q{0-9a-zA-Z"} starts recording a macro

q stops recording the macro

@{0-9a-zA-Z"} starts the macro

@@ repeats last used macro