|
|
|
|
|
by curiousyogurt
5628 days ago
|
|
One of the features that really got me into Vim was the macros feature. I actually ran into in accidentally several times when I was first learning the basics (and couldn't get out of recording mode). But macros, and especially the temporary nature of macros, have saved me (collectively) many hours: q <macrokey> <do some stuff>; then q to stop recording. Then @<macrokey> to kick off the macro. Splendid. |
|
The only problem is that they take a lot of practice before you get them right first time. After a while though, you learn to record them fairly quickly and they streamline your workflow. They also melt the faces of anyone pairing with you.
The best part is they get better with age. The more vim commands you know, the more opportunities you find for using them.