Check this Vim tip: Search for visually selected text
Or you can simply yank the selected text with y and go to search mode / , then you can paste the last yanked text with Ctrl+R 0
很简单,v,选中,y,/, Ctrl+r 0, 回车
Check this Vim tip: Search for visually selected text
Or you can simply yank the selected text with y and go to search mode / , then you can paste the last yanked text with Ctrl+R 0
很简单,v,选中,y,/, Ctrl+r 0, 回车