vim Macros allow you to record and play a sequence of actions inside of the Vim editor.
Macros are stored in the registers (a-z) - The same registers that we use to yank and delete text into.
Pressing "q" and a register letter will start recording the Macro into that register then press "q" again to stop recording the Macro .
To play the Macro, press "@" and the register where he Macro is stored.
See the complete Vim playlist at:
https://www.youtube.com/watch?v=1lzXr-MztOU
See the complete Vim playlist in a single video at:
https://www.youtube.com/watch?v=3G6kAEvbv2A
Website link:
https://thefrugalcomputerguy.com/linux/seriespg.php?ser=10002
6 Comments