Wednesday, October 25, 2006

Vim Vim Vim

This ~/.vimrc suits my needs quite well:

:syntax enable
colorscheme default
:let fortran_have_tabs=1

To check what colors we have: vi /usr/share/vim/current/syntax/colortest.vim, and source %

To set different colorschemes, check in /usr/share/vim/vim64/colors directory for *.vim files.

To make your own colorscheme, copy a sample colorscheme to ~/.vim/colors directory as mine.vim for ex.. Change it to suit ur needs. Then add the following line to ~/.vimrc file:

colors mine

0 Comments:

Post a Comment

<< Home