Recording and Repeating Commands in VIM (macros)

preview_player
Показать описание
Let's explore how we can create reusable sequences of VIM commands to save time.
Рекомендации по теме
Комментарии
Автор

Dude, this has literally saved me tons of time! To give perspective, I'm working with a 300k+ lines data file that needs trimming. Sed didn't work because encoding, and now I found this explanation. Thank you so much!

jonathanvillatorocordoba
Автор

Great. I came here to see if there was a way to list all the macros you have registered/recorded.

donaldaxel
Автор

Good video man, exactly what I want to learn :)

rafaelcoelho
Автор

Brilliant! Thank you for this macro demo

patomackcodes
Автор

Nice tutorial man. I think we can also use something like 10@@ to apply the changes 10 times or any number we want.

dariusbualan
Автор

how to record a macro with find a word and find another. If i find a word and then find another and stop macro. Then it ignore the first find match. Please check that.

bhaveshverma
Автор

God bless you in Jesus' Name Amen ✝️

sap
Автор

If you record your macro on a number key, and then do something like deleting or yanking, the macro will be overwritten by that action, therefore DO NOT record macros on number keys.

alberteinstein
visit shbcf.ru