Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于下面的示例文本,光标位于第一个空格中:
这是句子。
我可以使用类似的命令是不是很棒
fe
跳到行尾的最后一个 e
但不幸的是 f 和 F 只能根据当前光标位置搜索,有没有可以从行尾向后搜索字符的命令?
您可以使用$转到行尾。然后你可以F从那里做一个向后搜索。
$
F
您可以使用0转到行首(第一个非空格)。然后您可以使用f向前搜索。
0
f
$F从行尾向后搜索。 0f从行首向前搜索。
$F
0f