VI highlighting 'echo'
Kevin Kempter
kevin.kempter at dataintellect.com
Fri Dec 31 22:10:02 UTC 2004
if your last search was for echo (even i a previous session) this will
be highlighted. edit the .vimrc file in your home directory and add the
following line to completely turn off the highlight behavior for searching:
set nohlsearch
Sean wrote:
>On Wed, December 29, 2004 9:07 pm, Nifty Hat Mitch said:
>
>
>>On Tue, Dec 21, 2004 at 11:56:05AM +0100, Maciek R. wrote:
>>
>>
>>>I have no idea how I activated this ... but while writing some easy
>>>shell scripts the VI editor highlights the word 'echo' so the background
>>>is orange. How can I remove this option? I already used man vi and
>>>
>>>
>
>Here's my guess... somehow you pressed the number 8 key and holding
>shift, while your cursor was sitting on the word "echo". This is the
>shortcut for search-for-word. Now every time you load vi it is showing
>you your previous "search". You can simply press / and then type a
>bunch of random keys as a search string. Press ENTER and the word echo
>will no longer be highlighted every time you start vi.
>
>Cheers,
>Sean
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041231/bf8f9ec2/attachment-0001.htm>
More information about the fedora-list
mailing list