How can I search a word after selecting it in visual mode in Vim?

后端 未结 4 660
遇见更好的自我
遇见更好的自我 2021-01-26 02:22

Suppose I have selected a word in visual mode. Now I want to search that word in the document.

How can I do that?

Thanks in advance.

4条回答
  •  面向向阳花
    2021-01-26 02:57

    I recommend https://github.com/thinca/vim-visualstar because you can use * for searching but with some selections you can run into problems.

提交回复
热议问题