editor - vim (vi) - removing colour capability.
Hi:
vim 7.1. It loads a C source program and there's a lot of colour on the screen. The manual is dense. Anyone familiarized with it? If so, how can I do to disable colour highlighting. The command likely to be as in vi. And although i once managed to disable it, matching delimiters still were highlighted. There must be a more global command. Thanks for reading. |
:syntax off
or add a syntax off line to your ~/.vimrc file |
Thanks a lot, Estabroo. I did it and colour went away. Unfortunately, matching parenthesis are still highlighted. Regards.
Regards. |
Sorry I didn't realize you wanted to turn off both, I think the paren thing is :set noshowmatch
|
estabro: no, it only makes the cursor jump to a matching one but it doesn't matter. I'll manage. I take the opportunity to ask you what may be the reason why, in my system, vi is a mere link to elvis. Kind regards.
|
wow, sorry I didn't reply sooner. Elvis is probably your system's default editor that supplies a vi compat mode, same thing happens when you install vim, though it'll point to vim instead of elvis.
|
Which would prob explain why
set syntax off didn't work. Maybe elvis isn't that compatible.. Hang on... what about set nohighlight ??? |
All times are GMT -5. The time now is 04:15 AM. |