-
-
Notifications
You must be signed in to change notification settings - Fork 2
11.1. Macro
shinokada edited this page Feb 28, 2014
·
2 revisions
q{register}
to start recording and q
to stop.
qa # start recording into register 'a'
A;<Esc> # Append ; and escape
I
to go to the beginning and change to Insert mode and enter var and escape.
Ivar <Esc>
q # to stop recording
# check the register 'a'
:reg a
# notice ^[ is the same as <Esc>
@{register}
## repeat the last macro invoked
@@
j
@a
j@@ # repeat the last macro invoked
Important: The Tables of Content are generated. Any change will be overridden on the next update.
For more information: GitHub Wikifier