HOWTO: Indentation and syntax coloring in Vim

To enable indentation and syntax coloring in vim Ubuntu Edgy you must
edit the file vimrc located on /etc/vim/vimrc and uncomment the lines
syntax on
and
if has(“autocmd”)
filetype indent on
endif

Advertisements

About jordilin

I'm a Senior Software Engineer with an MSc in Telecommunications Engineering. I've got a range of interests including Linux, a very powerful and limitless operating system, travelling, gastronomy and technology.
This entry was posted in HOWTOs, Ubuntu Linux. Bookmark the permalink.

One Response to HOWTO: Indentation and syntax coloring in Vim

  1. langley says:

    You Rock!
    I am in the process of evaluating Ubuntu after being a longtime Redhat/Fedora user… and THIS makes a huge difference to me. Thank you!

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