How to get rid of the brown background after searching texts in vi editor
I am using vi editor. My problem is after searching some texts, say "something", if there are texts matching, the matched texts "something" will get brown background and it will not go away even I close the file and re-open it again. Too many matches make the text hard to read. Does anyone know how to turn off this annoying background?
As it is pointed out in the link provided by Vijay type:
:set nohlsearch
You can get back to the highlight mode typing:
:set hlsearch
before next search.
链接地址: http://www.djcxy.com/p/49392.html上一篇: Vim:将光标移动到最后位置
下一篇: 如何在vi编辑器中搜索文本后摆脱棕色背景