etc/vimrc

102 lines
2.3 KiB
VimL
Raw Normal View History

se nocompatible
filetype off
2014-06-14 19:47:10 +02:00
se rtp+=~/.vim/bundle/neobundle.vim
call neobundle#begin(expand('~/.vim/bundle/'))
2014-06-14 19:47:10 +02:00
NeoBundleFetch 'Shougo/neobundle.vim'
2014-06-14 19:47:10 +02:00
NeoBundle 'tpope/vim-sensible'
2014-06-14 19:47:10 +02:00
NeoBundle 'Valloric/YouCompleteMe' , {
\ 'build' : {
\ 'unix' : './install.sh --clang-completer --system-libclang'
\ },
\ }
2014-06-14 19:47:10 +02:00
NeoBundle 'Shougo/vimproc.vim' , {
\ 'build' : {
\ 'windows' : 'make -f make_mingw32.mak',
\ 'cygwin' : 'make -f make_cygwin.mak',
\ 'mac' : 'make -f make_mac.mak',
\ 'unix' : 'make -f make_unix.mak',
\ },
\ }
2014-06-14 19:47:10 +02:00
NeoBundle 'nanotech/jellybeans.vim'
NeoBundle 'majutsushi/tagbar'
NeoBundle 'bling/vim-airline'
NeoBundle 'kien/ctrlp.vim'
2014-06-16 09:31:19 +02:00
NeoBundle 'scrooloose/syntastic'
NeoBundle 'tomtom/tcomment_vim'
"NeoBundle 'Raimondi/delimitMate'
2014-06-14 19:47:10 +02:00
NeoBundle 'kchmck/vim-coffee-script'
NeoBundle 'ledger/vim-ledger'
2014-06-01 14:13:23 +02:00
2014-06-14 19:49:56 +02:00
NeoBundle 'dag/vim2hs'
NeoBundle 'eagletmt/ghcmod-vim'
2014-06-14 19:47:10 +02:00
NeoBundle 'eagletmt/neco-ghc'
2014-06-01 14:13:23 +02:00
2014-07-22 20:33:48 +02:00
NeoBundle 'tpope/vim-fireplace' " clojure repl
2014-06-14 19:47:10 +02:00
NeoBundle 'marijnh/tern_for_vim'
2014-06-01 14:13:23 +02:00
2014-06-14 19:47:10 +02:00
NeoBundle 'jnwhiteh/vim-golang'
NeoBundle 'Blackrush/vim-gocode'
2014-06-01 14:13:23 +02:00
2014-06-14 19:47:10 +02:00
NeoBundle 'zah/nimrod.vim'
2014-06-01 14:13:23 +02:00
2014-06-14 19:47:10 +02:00
NeoBundle 'wting/rust.vim'
2014-06-01 14:13:23 +02:00
2014-06-14 19:47:10 +02:00
NeoBundle 'derekwyatt/vim-scala'
NeoBundle 'othree/html5.vim'
2014-06-14 13:26:00 +02:00
2014-07-13 13:29:14 +02:00
NeoBundle 'dogrover/vim-pentadactyl'
2014-07-18 08:41:58 +02:00
NeoBundle 'idris-hackers/idris-vim'
2014-07-21 15:26:02 +02:00
NeoBundle 'tpope/vim-fugitive' " git integration
2014-07-22 20:33:48 +02:00
NeoBundle 'LaTeX-Box-Team/LaTeX-Box'
2014-06-14 13:26:00 +02:00
" vim-sleuth?
2014-06-14 19:47:10 +02:00
call neobundle#end()
filetype plugin indent on
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
au BufNewFile,BufRead *.vala setf cs
2014-06-14 19:11:05 +02:00
au syntax java set ts=4 sts=4 sw=4
2009-02-21 12:31:05 +01:00
au BufNewFile,BufRead *.i set ft=swig
2013-03-29 15:24:24 +01:00
au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))
2014-06-14 19:13:27 +02:00
au syntax haskell setl omnifunc=necoghc#omnifunc
2014-06-14 19:16:07 +02:00
let g:necoghc_enable_detailed_browse=1
2013-05-19 23:33:53 +02:00
2014-06-14 19:49:56 +02:00
se foldlevel=99
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
2014-06-01 14:13:23 +02:00
let g:ycm_filetype_blacklist = { 'ledger' : 1, 'sql': 1 }
2014-06-14 19:13:27 +02:00
let g:ycm_semantic_triggers = {'haskell' : ['.']}
2014-06-16 11:06:02 +02:00
let g:ycm_show_diagnostics_ui = 1
2014-06-14 13:26:00 +02:00
let g:jellybeans_background_color = '000000'
2014-08-10 09:09:56 +02:00
if &term == "screen" || &term == "screen-bce"
set t_ts=k
set t_fs=\
endif
set title