vim标记

示例

下面的命令在每一行执行: 命令,从包含 f 手动标记的行到包含 t 手动标记的行:

:'f,'tcommand

自动标记也可以使用:

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

请参阅:help mark-motions。