Old 28th June 2007, 20:09
unclecameron unclecameron is offline
Senior Member
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default Debian Vi Vim color syntax

I just installed Debian Etch and found a way to change the default monochrome vi to color with syntax, thought it might help someone else looking for the same thing. I had to look awhile for this, and found that the instructions for enabling it in Sarge don't work.


apt-get install vim-full

This will load all the syntax format info for most of the files you're likely to ever need, i.e. apache2.conf, postfix/main.cf etc.

edit ~/.bashrc for whichever user you are


alias vi='vim'

then edit:


and uncomment:

syntax on

and any other features you want to enable in that file. HTH somebody else trying to figure this out.

San Diego
Reply With Quote
The Following User Says Thank You to unclecameron For This Useful Post:
falko (29th June 2007)
Sponsored Links


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help me whit bind9 astra2000 Server Operation 12 10th October 2007 03:43
The Perfect Setup - Debian Woody (3.0)... sending mail from my XP box? ExCIA HOWTO-Related Questions 17 27th June 2007 19:31
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 19:37
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42

All times are GMT +2. The time now is 21:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.