Apply a macro to every line in a selected range.
Section: Macros
Run a macro over a range
vim
vim
:'<,'>normal @qExplanation
A very efficient way to transform multiple lines using one recording.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Macros