commit 58767a2ffb96a2d246ac5d208d22e8ae2ddd86bd Author: jimi Date: Wed Oct 13 16:37:33 2010 -0500 Initial vimrc diff --git a/README b/README new file mode 100644 index 0000000..c33a362 --- /dev/null +++ b/README @@ -0,0 +1,4 @@ +VIM configs + +clone to ~/.vim +link ~/.vim/vimrc to ~/.vimrc diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..dd01c24 --- /dev/null +++ b/vimrc @@ -0,0 +1,23 @@ +filetype plugin indent on +syntax enable + +" Set defaults [:h Q_op for abbrs] +set nocompatible +set ai et sw=2 ts=2 sts=2 " auto indent, 2 space tabs +set ch=2 so=3 ls=2 " commandline, scrolloff, laststatus +set dir=/var/tmp,/tmp " dir for swapfile +set nofoldenable " turn off folding +set splitbelow splitright " new window placement +set list listchars=tab:»·,trail:· +set statusline=%<%f\ %h%m%r\ %y\ %=%-16(\ %l,%c-%v\ %)%P + +" Enable 256 color xterm support +au VimEnter * if &term == 'xterm' | set t_Co=256 | endif + +if has("gui_running") + set guifont=Monospace\ 10 + set cursorline + set go=aegitt + set co=115 + set lines=40 +endif