"A really useful feature of the open source editor Vim is the
macro command, which allows you to record and reply a series of
commands. To start recording, hit "q" then "a" (or any other
lowercase letter identifier). The status bar at the bottom will
show recording. Enter your commands as normal, then hit "q" again
to stop recording when you're done. To replay the macro, type
"So far, so good, but a macro saved like this will not last
between sessions. However, the macro is saved into a normal
register in the same way as yanked text. To save it permanently,
open your ~/.vimrc file in the same session, and use "ap" to paste
in the macro commands."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.