Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-24-2009, 11:20 AM
|
#1
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Rep:
|
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.
|
|
|
05-24-2009, 12:13 PM
|
#2
|
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,127
Rep: 
|
:syntax off
or add a syntax off line to your ~/.vimrc file
Last edited by estabroo; 05-24-2009 at 12:15 PM.
Reason: off instead of disable
|
|
|
05-24-2009, 12:49 PM
|
#3
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
Thanks a lot, Estabroo. I did it and colour went away. Unfortunately, matching parenthesis are still highlighted. Regards.
Regards.
|
|
|
05-24-2009, 11:32 PM
|
#4
|
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,127
Rep: 
|
Sorry I didn't realize you wanted to turn off both, I think the paren thing is :set noshowmatch
|
|
|
05-25-2009, 10:06 AM
|
#5
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
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.
Last edited by stf92; 05-25-2009 at 10:17 AM.
|
|
|
09-01-2009, 11:31 PM
|
#6
|
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,127
Rep: 
|
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.
|
|
|
09-01-2009, 11:41 PM
|
#7
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,443
|
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 07:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|