Azitech

Azimout's Linux weblog

vim syntax highlighting

leave a comment »

To get syntax highlighting in vim, you can either type :syntax on , or add syntax on to your ~/.vimrc file.

Note: If you only install vim-tiny, you don’t have syntax highlighting (the message you’ll get is E319: Sorry, the command is not available in this version). You actually need the full vim package for that.

Advertisements

Written by azimout

04/06/2010 at 16:39

Posted in Howto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: