etc/vimrc

21 lines
712 B
VimL
Raw Normal View History

2011-02-21 16:17:43 +01:00
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
2011-02-21 16:17:43 +01:00
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,
2009-02-21 12:31:05 +01:00
au BufNewFile,BufRead *.i set ft=swig
au BufNewFile,BufRead *.factor set ft=factor
2011-02-21 16:17:43 +01:00
au BufNewFile,BufRead Gemfile set ft=ruby
2013-03-29 15:24:24 +01:00
au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))
2013-10-27 14:08:43 +01:00
au BufNewFile,BufRead *.cabal,*.hamlet,*.hs set expandtab
2013-05-19 23:33:53 +02:00
execute pathogen#infect()