vim syntax highlight under mac
$> vi ~/.vimrc
set nocompatible
syntax on
$> mkdir -p ~/.vim/colors
$> vi ~/.vim/colors/test.vim
" customize color scheme in test.vim
" colorscheme test
In mac leopard, there are many colorscheme included, these are in “/usr/share/vim/vim70/colors/”
reference: http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/index.html
No comments :
Post a Comment