vim syntax highlighting

ZIYAD A. M. AL-BATLY zamb at saudi.net.sa
Thu Aug 25 23:27:10 UTC 2005


On Thu, 2005-08-25 at 23:26 +0200, Christoph Georgi wrote:
> thanks for all the tips and tricks!
> 
> another question on vim's highlighting arose concerning searching: when
> you search vim highlights all the results in the file. but after i found
> what i was searching for, i'd like it to stop highlighting all the
> results.. how would one go about doing that?
> 
> thanks,
> christoph
> 
> 
        :set nohlsearch

To enable "search highlight" again:
        :set hlsearch


Ziyad.





More information about the ubuntu-users mailing list