To Set vi/vim up to automatically highlight your text files for HTML, shell scripts, PHP, etc set this up in your $HOME/.vimrc:
set background=dark
syntax on
The example below is my .vimrc:
Before:
After:
More Info:
http://www.vim.org/htmldoc/syntax.html



0 comments:
Post a Comment