VI highlighting 'echo'
Neil Bird
neil at fnxweb.com
Tue Dec 21 15:31:18 UTC 2004
Around about 21/12/04 14:37, Aleksandar Milivojevic typed ...
> One of the many annoying "features" of vim. By default it will
> highlight whatever you searched for in the text (obviously, you searched
> for "echo" sometime in the past). ...
Not realy fair; it's more a 'feature' of RedHat's default install,
as this turns on a load of stuff that's actually off by default in vim
(highlight-search is one of them).
There are a couple of other annoyances in there too
(/usr/share/vim/vim6X/macros/vimrc). Add the following to your ~/.vimrc:
set nohls
(or type ':set nohls' from within vim, but that's not kept across
sessions). Or comment out the 'set hlsearch' in the above macros file.
--
[neil at fnx ~]# rm -f .signature
[neil at fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil at fnx ~]# exit
More information about the fedora-list
mailing list