LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-09-2005, 09:31 AM   #1
Erik Thorsson
Member
 
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Rep: Reputation: 15
vim colors


I have this horrendous HTML file I need to edit. It would really help if vim would color code the tags in it. This is default behavior on Red Hat dists, but not on Debian. How do I get syntax coloring to work in vim?

-E
 
Old 02-09-2005, 09:38 AM   #2
Erik Thorsson
Member
 
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Original Poster
Rep: Reputation: 15
Ah, nevermind.

You set it in /etc/vim/vimrc.

" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
 
  


Reply

Tags
vim


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
what controls colors in vi/vim? pfaendtner Linux - Software 3 03-24-2005 05:51 PM
how to get colors in emacs and vim pranith Linux - Newbie 1 02-11-2005 12:35 AM
regarding colors in vim and emacs pranith Linux - Newbie 0 02-10-2005 03:10 AM
VIM 6.3.13 Colors not displaying correctly schurt Fedora 0 07-22-2004 05:08 PM
vim suddenly changed colors??? spyghost Linux - Software 5 08-27-2003 10:13 AM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
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