Debian Vi Vim color syntax

Discussion in 'Installation/Configuration' started by unclecameron, Jun 28, 2007.

  1. unclecameron

    unclecameron New Member

    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/ 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

Share This Page