Vim清除最后一个搜索突出显示 - Vim clear last search highlighting

08/05 02:58
阅读数 38

问题:

Want to improve this post? 想要改善这篇文章吗? Provide detailed answers to this question, including citations and an explanation of why your answer is correct. 提供此问题的详细答案,包括引文和为什么答案正确的解释。 Answers without enough detail may be edited or deleted. 答案不够详细的答案可能会被编辑或删除。

After doing a search in Vim, I get all the occurrences highlighted. 在Vim中进行搜索后,我将所有出现的事件突出显示。 How can I disable that? 如何禁用它? I now do another search for something gibberish that can't be found. 我现在再次搜索找不到的乱码。

Is there a way to just temporarily disable the highlight and then re-enable it when needed again? 有没有一种方法可以暂时禁用突出显示,然后在需要时重新启用它?


解决方案:

参考一: https://stackoom.com/question/2l1z/Vim清除最后一个搜索突出显示
参考二: https://oldbug.net/q/2l1z/Vim-clear-last-search-highlighting
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
在线直播报名
返回顶部
顶部