Is there a command in Vim/Vi to move the cursor to the end of a search highlight?

前端 未结 6 2066
粉色の甜心
粉色の甜心 2020-12-22 23:31

Are there any commands in Vim/Vi to move within a selected search segment?

For instance, if I search for a word, are there any commands to motion the cursor to the

6条回答
  •  攒了一身酷
    2020-12-23 00:11

    You can do it with this:

    /Fish/e

    The /e at the end lands your cursor at the end of the search region (instead of the first character by default.

提交回复
热议问题