分数

以下命令在包含 f 手动标记的每一行到包含 t 手动标记的行上执行:command

:'f,'tcommand

也可以使用自动标记:

:'<,'>command    " covers the visual selection
:'{,'}command    " covers the current paragraph
:'[,']command    " covers the last changed text

:help mark-motions