Gentoo Blog

The ultimate Gentoo Blog
  • Home
  • About

vim activate Syntax highlighting on Debian/ Ubuntu

Simon | September 9, 2008

1. Install vim

aptitude install vim

2. Edit the vimrc

vim /etc/vim/vimrc

3. remove the quotes in front of syntax highlighting

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

Thats it enjoy the colours :)

Share on Facebook
Categories
Ubuntu/Debian
Comments rss
Comments rss
Trackback
Trackback

« Confixx Mod-Rewrite Plesk move your apache vhost directory »

2 Responses to “vim activate Syntax highlighting on Debian/ Ubuntu”

  1. Syntax Highlighting in Vim aktivieren - Vibora - das Linux Weblog says:
    January 13, 2010 at 8:49 pm

    [...] http://gentoo-blog.de/ubuntu/vim-activate-syntax-highlighting-on-debian-ubuntu/ Bookmarken: Diese Icons verlinken auf Bookmark Dienste bei denen Nutzer neue Inhalte finden und mit anderen teilen können. [...]

  2. Web Hosting says:
    January 26, 2012 at 3:50 pm

    Nice one mate, finally syntax highliting for VI!

Leave a Reply

Click here to cancel reply.

 

May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories

  • confixx/Plesk
  • fun
  • Gentoo
  • iptables
  • mysql
  • news
  • Raid Controllers
  • Stuff
  • Ubuntu/Debian
  • Xen/Vmware

Links

  • Gentoo
  • http.net
  • iphone software linux
  • michael-fuchs.net
  • Ubuntu
  • webupd8.org

Search Blog

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox