LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-16-2003, 02:42 PM   #1
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Rep: Reputation: 30
Color Coded Vim


I use vim at home and when I ssh to work and use vim there are no colors in the program (it is not a big deal but is nice when syntax highlighting is occuring during development) so does anyone know where I define the colors for vim or why the colors would show up via ssh to the remote server when running vim?
 
Old 10-16-2003, 03:41 PM   #2
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 294

Rep: Reputation: 32
There should be a file ~/.vimrc, in that file should be the line
:syn on
If you don't see colors that line may read
:syn off
change it to :syn on
I had the opposite problem, I hated the colors and wanted to turn them off.
 
Old 10-16-2003, 04:15 PM   #3
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
no ~/.vimrc

I do have a .viminfo but it doesn't have anything like :syn in it

any other ideas?
 
Old 10-16-2003, 04:25 PM   #4
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 294

Rep: Reputation: 32
Create one and put it in.
 
Old 10-16-2003, 05:45 PM   #5
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
Thanks!
 
Old 10-16-2003, 05:52 PM   #6
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 294

Rep: Reputation: 32
Your wellcome, hope it helps
 
  


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
VIM Color Syntax Highliting bsg Linux - Newbie 5 10-07-2005 09:31 PM
Coded FIFO issue MDBlueIce Programming 3 07-15-2005 03:03 PM
anyone knows how to disable color for vim in console? linuxzouk Linux - Newbie 2 06-07-2004 11:58 PM
vim php color coding? Longinus Linux - Software 4 04-11-2004 06:56 AM
vim color highlighting new_user10 Programming 9 11-02-2003 01:40 PM


All times are GMT -5. The time now is 09:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration