LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-26-2006, 07:32 PM   #1
impulse()
Member
 
Registered: May 2006
Posts: 38

Rep: Reputation: 15
How do I get coloured syntax in ViM?


I've seen a few screenshots which show it possible.

Ste,
 
Old 09-26-2006, 07:35 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Without knowing your distro I'm guessing the location/version, but have a look in /usr/share/vim/vim70/colors/README.txt for some info on using colors in vim.
 
Old 09-26-2006, 10:56 PM   #3
Valdis Grinbergs
Member
 
Registered: Dec 2005
Distribution: Debian
Posts: 30

Rep: Reputation: 25
Issue at vim's command line 'syntax on' (without the quotes)
or include 'syntax on' in your .vimrc file to always have syntax coloring on.
This will not work if your copy of vim was compiled without syntax coloring included. To learn more, type 'h syntax' at vim's command line.
 
  


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 syntax highlighting problems. donniejones18 Linux - Software 7 04-16-2006 09:03 PM
vim syntax highlighting MiniMe001 Linux - General 2 06-19-2005 12:08 PM
Adding Syntax Highlighting to VIM TastyWheat Linux - Software 2 02-27-2004 04:37 AM
Java syntax highlighting in vim Phantomas Linux - Software 0 08-16-2003 05:34 AM
Vim syntax highlighting NSKL Linux - Software 2 11-09-2002 03:39 AM


All times are GMT -5. The time now is 05:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration