etc/vimrc

23 lines
747 B
VimL
Raw Normal View History

2013-12-29 18:32:58 +01:00
set tw=0 expandtab ts=8 sts=2 sw=2 sm ai si
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-05-19 23:33:53 +02:00
execute pathogen#infect()
2013-12-29 18:32:58 +01:00
set vb " turn on the "visual bell" - which is much quieter than the "audio blink"
set nobackup
se bs=2