更新时间:2023-11-09 16:52:28
检查以下Vim技巧:在视觉上进行搜索选定的文字
Check this Vim tip: Search for visually selected text
或者您可以简单地用 y 拉动所选文本并进入搜索模式/,然后可以用 Ctrl + R 0粘贴最后拉动的文本.
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