etc/vimrc
2013-03-29 15:24:24 +01:00

18 lines
627 B
VimL

set tw=0 ts=8 sts=2 sw=2 sm ai si
"set gfn=Monospace\ 8 " use Monospace at 8pt
set ml mls=5 " scan 5 lines for modelines
syn on " enable syntax highlighting
set hls " highlight search
set bg=dark " dark background
filetype plugin on
set ofu=syntaxcomplete#Complete
au BufNewFile,BufRead *.vala setf cs
au BufNewFile,BufRead *.java set ts=4 sts=4 sw=4
au BufNewFile,BufRead *.cc set path=.,/usr/include,/usr/include/qt4/Qt,
au BufNewFile,BufRead *.i set ft=swig
au BufNewFile,BufRead *.factor set ft=factor
au BufNewFile,BufRead Gemfile set ft=ruby
au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))