How to jump to a specific character in vim?

ぃ、小莉子 提交于 2019-12-02 13:57:11

You can type f<character> to put the cursor on the next character and F<character> for the previous one.

t and f work without a command as well, so to move to colon use f: and to move to right before colon use t:

Alexander Corwin

If you do a search for that character with /, you can then hit n to move to the next occurrence of it.

Maybe you are just searching for a pure vim combination but EasyMotion is a plugin that worth trying. HTH. :)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!