The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can I know find syntax to find given date files bache_gowda Shell Programming and Scripting 3 03-26-2008 02:37 AM
Coloring personal text in vim skkrish2 UNIX for Dummies Questions & Answers 1 01-31-2008 09:44 PM
Unable to open files in VI editor ennstate UNIX for Advanced & Expert Users 8 11-06-2007 02:40 AM
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 2 12-12-2005 07:53 AM
Syntax Highlight editor arun.viswanath SUN Solaris 7 09-12-2005 04:19 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-25-2008
Registered User
 

Join Date: Feb 2008
Posts: 2
Question Syntax coloring for .pc files in VIM editor

Hi,
i am using VIM editor through Putty. By the option of Syntax on in .vimrc file i am able to see syntax colors in .c and .cpp files but not in the files with .pc extension.
How can this be done?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-25-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,419
inside vim try this:
Code:
:so $VIM/syntax/esqlc.vim
There are over 100 syntax support files that come with the vim install
Reply With Quote
  #3 (permalink)  
Old 02-25-2008
Registered User
 

Join Date: Feb 2008
Posts: 2
Thumbs up

Thanks a lot...
i tried it.. and itz working fine..
Thanks again...
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0