Cancel the select pattern in VIM

When I try to search some words in a article, it would highlight the pattern. After I have already found what I want, what should I do to cancel the select pattern, which means I don't want the words to be highlighted.

Best Regards,


I've mapped ESC-u to do this (like the less command):

nnoremap <ESC>u :nohlsearch<CR>

I learned that from this page: http://www.semicomplete.com/blog/geekery/make-vim-hlsearch-like-less.html


你想要的命令是:nohl


在我永久关闭搜索突出显示之前, /sdjrgjlsfj是我的首选命令。

链接地址: http://www.djcxy.com/p/49380.html

上一篇: 在Vim中强调搜索但不替换?

下一篇: 取消VIM中的选择模式