Tuesday, March 15, 2011

[Level 1] Enable vim syntax for python.

If you want your vim support python syntax,
you can do the following steps:
1. make directory.
$ mkdir ~/.vim/syntax
2. Download python syntax profile from vim org.
http://www.vim.org/scripts/script.php?script_id=790
3. enable syntax.
$ cat ~/.vimrc
syntax on
Wish this helps.
regards,
Stanley Huang