星期四, 11月 05, 2009

Syntax highlighting for Gtk+ in Vim

Note : This is for Debian.

# Install vim-syntax-gtk package
sudo aptitude install vim-syntax-gtk


# Enable gtk-syntax in Vim
vim-addons install gtk-syntax


# Let Vim known which syntax it should highlighting
cp /usr/share/doc/vim-syntax-gtk/examples/c.vim ~/.vim/after/syntax

沒有留言: