LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 09-20-2007, 03:08 PM   #1
matthewhardwick
Member
 
Registered: Oct 2003
Location: CA
Posts: 165

Rep: Reputation: 30
weird colour behind text in vim


For some reason VIM has gone disgusting and it's really hard to use.

http://www.bay-radio.co.uk/vim.jpg


Anyone have any ideas how to fix this?

TIA.
Matt.
 
Old 09-20-2007, 07:56 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
In your user home directory, there should be a hidden file: .vimrc. In that file, you can specify a colourscheme to use. The colourschemes are located in /usr/share/vim/vim63/colors. Edit .vimrc to add a colourscheme, then try it on a document. Try each one until you find one you like, or edit one to your liking.

The entry in .vimrc should look like this:
:colourscheme blue

or whatever colourscheme you choose.
 
Old 09-20-2007, 08:05 PM   #3
matthewhardwick
Member
 
Registered: Oct 2003
Location: CA
Posts: 165

Original Poster
Rep: Reputation: 30
Thanks for that, there was also a file called .viminfo


I should have thought about it and gone looking their I was just being lazy.

I deleted both files as I like the way VIM colours my code anyway.

Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"HOWTO Change Colour of Comments in VIM editor" manikantha Linux - General 8 07-16-2013 03:36 AM
HTML text underline colour paddyjoy Programming 2 03-11-2006 03:35 AM
How to Change Console Text Colour flamesrock Linux - Software 3 05-10-2005 07:49 PM
Changing the colour of text kamransoomro84 Programming 1 05-12-2004 08:57 AM
Aterm Text Colour cclavey Linux - Software 5 07-28-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration