vim 搜索光标下文字 / substitute 操作同样 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 select text, v and move yank, y goto search mode, / paste the last yanked text, Ctrl + R, 0 Enter