|
MacGowans Teeth posted:q is the register where the macro is stored. The normal command treats whatever comes after as if it had been typed on the current line in normal mode, so when you do that across a range, it applies the normal mode commands to each line in the range. I use :'<,'>norm (or numbered ranges) for . and & a lot, and it's great for macros, too. It's a pretty awesome command. code:
You can chain multiple calls if you have an enter key press in a register. I can't work out how to paste one into the command line without having pre-recorded it though. code:
Where ^M is a pasted enter, to record one to register q ( qq<Enter>q ) and paste with control-r q.
|
# ¿ Apr 11, 2014 15:26 |
|
|
# ¿ Apr 27, 2024 09:42 |
|
Plorkyeran posted:Ctrl-V, Enter should work.
|
# ¿ Apr 11, 2014 16:14 |