2014-03-06 14:12:50 +00:00
|
|
|
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'
|
2014-06-01 12:13:23 +00:00
|
|
|
Bundle 'kien/ctrlp.vim'
|
2014-03-06 14:12:50 +00:00
|
|
|
|
|
|
|
Bundle 'kchmck/vim-coffee-script'
|
|
|
|
Bundle 'ledger/vim-ledger'
|
|
|
|
|
2014-06-01 12:13:23 +00:00
|
|
|
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'
|
|
|
|
|
2014-03-06 14:12:50 +00:00
|
|
|
filetype plugin indent on
|
|
|
|
|
2013-12-29 17:32:58 +00:00
|
|
|
set tw=0 expandtab ts=8 sts=2 sw=2 sm ai si
|
2008-03-16 21:02:24 +00:00
|
|
|
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 15:17:43 +00:00
|
|
|
filetype plugin on
|
|
|
|
set ofu=syntaxcomplete#Complete
|
|
|
|
|
2008-03-16 21:02:24 +00:00
|
|
|
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 11:31:05 +00:00
|
|
|
au BufNewFile,BufRead *.i set ft=swig
|
|
|
|
au BufNewFile,BufRead *.factor set ft=factor
|
2011-02-21 15:17:43 +00:00
|
|
|
au BufNewFile,BufRead Gemfile set ft=ruby
|
2013-03-29 14:24:24 +00:00
|
|
|
au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))
|
2013-05-19 21:33:53 +00:00
|
|
|
|
2013-12-29 17:32:58 +00:00
|
|
|
set vb " turn on the "visual bell" - which is much quieter than the "audio blink"
|
|
|
|
set nobackup
|
|
|
|
se bs=2
|
2014-03-04 09:28:08 +00:00
|
|
|
|
2014-06-01 12:13:23 +00:00
|
|
|
let g:ycm_filetype_blacklist = { 'ledger' : 1, 'sql': 1 }
|
|
|
|
au Syntax ledger setl foldlevel=99
|