Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-26-2006, 07:32 PM   #1
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.

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

Rep: Reputation: 165Reputation: 165
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
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.


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:56 PM.

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