1、从头搜索:/hello
2、从尾搜索:?hello
3、精确搜搜:"<“表示匹配单词开头,”>“表示匹配单词末尾,匹配完整单词”?<hello>“或者”/<hello>"
如输入"/hel"、"/<hel"、"/llo>",可能搜索到hello
vim 精确匹配查找单词
最新推荐文章于 2024-05-16 15:20:00 发布
1、从头搜索:/hello
2、从尾搜索:?hello
3、精确搜搜:"<“表示匹配单词开头,”>“表示匹配单词末尾,匹配完整单词”?<hello>“或者”/<hello>"
如输入"/hel"、"/<hel"、"/llo>",可能搜索到hello