Syntax Highlighting

One of the advanced features the vim text editor offers is syntax highlighting. Code and markup is highlighted in a manner that improves readability and flow.

To enable these features, create (or update) the file $HOME/.vimrc with the following information.

set background=dark " When set to "dark", Vim will try to use colors that look
                    " good on a dark background. Perfect when using vim
                    " inside Putty

syntax on           " Enable syntax highlighting.