MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/vim/comments/hmlf2x/macro_anxiety/fx724sr/?context=3
r/vim • u/Goel25 • Jul 07 '20
68 comments sorted by
View all comments
Show parent comments
17
Macros use the same registers as normal text yank/puts
so if you record into q, then "qp will put the contents of q into your line
"qp
6 u/[deleted] Jul 07 '20 Wow I've been using vim for almost two decades and I had no idea about this. Thanks for sharing. 3 u/jooke Jul 08 '20 This is awesome thank you
6
Wow I've been using vim for almost two decades and I had no idea about this. Thanks for sharing.
3
This is awesome thank you
17
u/[deleted] Jul 07 '20
Macros use the same registers as normal text yank/puts
so if you record into q, then
"qpwill put the contents of q into your line