Re: VI highlighting 'echo'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux