etc/vimrc
2014-06-01 14:13:23 +02:00

59 lines
1.3 KiB
VimL

se nocompatible
filetype off
se rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-sensible'
Bundle 'Valloric/YouCompleteMe'
Bundle 'nanotech/jellybeans.vim'
Bundle 'majutsushi/tagbar'
Bundle 'bling/vim-airline'
Bundle 'kien/ctrlp.vim'
Bundle 'kchmck/vim-coffee-script'
Bundle 'ledger/vim-ledger'
Bundle 'eagletmt/neco-ghc'
Bundle 'marijnh/tern_for_vim'
Bundle 'jnwhiteh/vim-golang'
Bundle 'Blackrush/vim-gocode'
Bundle 'zah/nimrod.vim'
Bundle 'wting/rust.vim'
Bundle 'derekwyatt/vim-scala'
filetype plugin indent on
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
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>"))
set vb " turn on the "visual bell" - which is much quieter than the "audio blink"
set nobackup
se bs=2
let g:ycm_filetype_blacklist = { 'ledger' : 1, 'sql': 1 }
au Syntax ledger setl foldlevel=99