2014-03-06 14:12:50 +00:00
|
|
|
se nocompatible
|
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
call plug#begin('~/.vim/plugged')
|
2014-03-06 14:12:50 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'tpope/vim-sensible'
|
2014-03-06 14:12:50 +00:00
|
|
|
|
2015-02-16 18:04:52 +00:00
|
|
|
Plug 'ntpeters/vim-better-whitespace'
|
2015-03-14 09:10:15 +00:00
|
|
|
Plug 'nathanaelkane/vim-indent-guides'
|
2015-02-16 18:04:52 +00:00
|
|
|
|
2015-01-03 11:16:22 +00:00
|
|
|
Plug 'chrisbra/Recover.vim'
|
|
|
|
|
2015-03-14 16:29:31 +00:00
|
|
|
" Plug 'Valloric/YouCompleteMe', { 'do': './install.sh --clang-completer --system-libclang' }
|
2014-03-06 14:12:50 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'Shougo/vimproc.vim' , { 'do': 'make -f make_unix.mak' }
|
2014-03-06 14:12:50 +00:00
|
|
|
|
2016-01-17 18:48:09 +00:00
|
|
|
Plug 'junegunn/fzf', { 'dir': '~/.fzf' }
|
2016-01-05 08:26:26 +00:00
|
|
|
Plug 'junegunn/fzf.vim'
|
2014-03-06 14:12:50 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'ciaranm/securemodelines'
|
2014-08-10 07:25:50 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'chrisbra/SudoEdit.vim'
|
2014-08-18 14:42:57 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'majutsushi/tagbar'
|
|
|
|
Plug 'bling/vim-airline'
|
|
|
|
Plug 'tomtom/tcomment_vim'
|
2015-01-03 11:16:22 +00:00
|
|
|
" Plug 'jalcine/cmake.vim' --slow
|
2014-08-30 06:16:58 +00:00
|
|
|
|
2016-01-05 11:42:47 +00:00
|
|
|
" Plug 'benekastah/neomake'
|
|
|
|
Plug 'gebner/neomake', { 'branch': 'rubberinfo-multiline' }
|
2016-01-02 12:51:29 +00:00
|
|
|
Plug 'shougo/deoplete.nvim'
|
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'editorconfig/editorconfig-vim'
|
2015-11-22 09:25:17 +00:00
|
|
|
" vim-sleuth?
|
2014-03-06 14:12:50 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'kchmck/vim-coffee-script'
|
2015-02-09 13:02:50 +00:00
|
|
|
Plug 'pangloss/vim-javascript'
|
|
|
|
Plug 'mtscout6/vim-cjsx'
|
|
|
|
Plug 'mxw/vim-jsx'
|
2015-11-22 09:25:17 +00:00
|
|
|
Plug 'othree/html5.vim'
|
|
|
|
Plug 'digitaltoad/vim-jade'
|
|
|
|
Plug 'marijnh/tern_for_vim'
|
2015-02-09 13:02:50 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'ledger/vim-ledger'
|
2014-08-31 11:39:39 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'dag/vim2hs'
|
|
|
|
Plug 'eagletmt/ghcmod-vim'
|
|
|
|
Plug 'eagletmt/neco-ghc'
|
2014-06-01 12:13:23 +00:00
|
|
|
|
2015-01-03 11:16:22 +00:00
|
|
|
" clojure
|
|
|
|
Plug 'tpope/vim-leiningen'
|
|
|
|
Plug 'tpope/vim-projectionist'
|
|
|
|
Plug 'tpope/vim-dispatch'
|
|
|
|
Plug 'tpope/vim-fireplace'
|
2014-06-01 12:13:23 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'jnwhiteh/vim-golang'
|
|
|
|
Plug 'Blackrush/vim-gocode'
|
2014-06-01 12:13:23 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'zah/nimrod.vim'
|
2014-06-01 12:13:23 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'wting/rust.vim'
|
2015-11-22 09:25:17 +00:00
|
|
|
Plug 'racer-rust/vim-racer', { 'for': 'rust' }
|
2014-06-01 12:13:23 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'derekwyatt/vim-scala'
|
2016-01-05 11:42:47 +00:00
|
|
|
Plug 'ensime/ensime-vim'
|
2014-06-01 12:13:23 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'dogrover/vim-pentadactyl'
|
|
|
|
Plug 'superbrothers/vim-vimperator'
|
2014-06-14 11:26:00 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'idris-hackers/idris-vim'
|
2014-07-13 11:29:14 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'tpope/vim-fugitive' " git integration
|
2016-01-04 10:44:45 +00:00
|
|
|
Plug 'airblade/vim-gitgutter'
|
2014-07-18 06:41:58 +00:00
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
Plug 'kana/vim-textobj-user'
|
|
|
|
Plug 'rbonvall/vim-textobj-latex'
|
|
|
|
Plug 'kana/vim-textobj-indent'
|
|
|
|
Plug 'bps/vim-textobj-python'
|
2015-03-13 18:13:54 +00:00
|
|
|
Plug 'kana/vim-textobj-function'
|
|
|
|
|
|
|
|
Plug 'rhysd/vim-grammarous'
|
2014-10-08 14:41:06 +00:00
|
|
|
|
2014-10-24 05:32:52 +00:00
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
|
2014-10-24 05:32:59 +00:00
|
|
|
Plug 'peterhoeg/vim-qml'
|
|
|
|
|
2014-11-25 13:55:00 +00:00
|
|
|
Plug 'ekalinin/Dockerfile.vim'
|
|
|
|
|
2015-02-16 18:04:52 +00:00
|
|
|
Plug 'jvoorhis/coq.vim'
|
|
|
|
|
2016-01-06 16:32:04 +00:00
|
|
|
Plug 'LnL7/vim-nix'
|
2015-03-13 18:13:54 +00:00
|
|
|
|
2015-03-14 09:10:15 +00:00
|
|
|
Plug 'urbit/hoon.vim'
|
|
|
|
|
2015-07-12 13:34:07 +00:00
|
|
|
Plug 'ahf/twelf-syntax'
|
|
|
|
|
2015-09-15 17:20:37 +00:00
|
|
|
Plug 'c-cube/vim-tptp'
|
|
|
|
|
2015-11-24 09:53:11 +00:00
|
|
|
Plug 'LaTeX-Box-Team/LaTeX-Box'
|
|
|
|
|
2016-01-04 10:44:45 +00:00
|
|
|
Plug 'nanotech/jellybeans.vim'
|
|
|
|
|
2014-10-09 09:36:13 +00:00
|
|
|
call plug#end()
|
2014-06-14 17:47:10 +00:00
|
|
|
|
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
|
2014-08-18 14:42:57 +00:00
|
|
|
set noml mls=5 " scan 5 lines for modelines
|
2008-03-16 21:02:24 +00:00
|
|
|
syn on " enable syntax highlighting
|
|
|
|
set hls " highlight search
|
|
|
|
set bg=dark " dark background
|
2016-01-05 12:18:57 +00:00
|
|
|
se foldlevel=99
|
|
|
|
set vb " turn on the "visual bell" - which is much quieter than the "audio blink"
|
|
|
|
set nobackup
|
|
|
|
se bs=2
|
2008-03-16 21:02:24 +00:00
|
|
|
|
2016-01-04 10:44:45 +00:00
|
|
|
set mouse=
|
2016-01-05 12:18:57 +00:00
|
|
|
set title
|
2016-01-04 10:44:45 +00:00
|
|
|
|
|
|
|
colors jellybeans
|
|
|
|
|
2014-06-14 17:11:05 +00:00
|
|
|
au syntax java set ts=4 sts=4 sw=4
|
2016-01-05 12:18:57 +00:00
|
|
|
|
2015-09-15 17:20:37 +00:00
|
|
|
au BufNewFile,BufRead *.s set ft=tptp
|
|
|
|
au BufNewFile,BufRead *.s.out set ft=tptp
|
|
|
|
au BufNewFile,BufRead *.tptp set ft=tptp
|
2016-01-05 12:18:57 +00:00
|
|
|
|
2013-03-29 14:24:24 +00:00
|
|
|
au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))
|
2016-01-05 12:18:57 +00:00
|
|
|
|
2016-01-08 08:34:05 +00:00
|
|
|
au FileType scala nnoremap <silent> <c-]> :EnDeclaration<cr>
|
2016-01-06 12:06:55 +00:00
|
|
|
|
2014-06-14 17:13:27 +00:00
|
|
|
au syntax haskell setl omnifunc=necoghc#omnifunc
|
2014-06-14 17:16:07 +00:00
|
|
|
let g:necoghc_enable_detailed_browse=1
|
2014-10-09 20:11:42 +00:00
|
|
|
let g:haskell_conceal = 0
|
2013-05-19 21:33:53 +00:00
|
|
|
|
2015-11-24 09:53:11 +00:00
|
|
|
let g:LatexBox_latexmk_async = 1
|
|
|
|
let g:LatexBox_latexmk_preview_continuously = 1
|
|
|
|
let g:LatexBox_quickfix = 2
|
2016-01-05 12:18:57 +00:00
|
|
|
call tcomment#DefineType('nix', '# %s')
|
|
|
|
au syntax tex setl iskeyword+=:
|
|
|
|
au syntax tex syn region texZone start="\\begin{clilisting}" end="\\end{clilisting}\|%stopzone\>"
|
2015-11-26 20:45:12 +00:00
|
|
|
|
2014-10-08 14:41:06 +00:00
|
|
|
" better paragraph object for tex files FIXME
|
|
|
|
call textobj#user#plugin('latexparagraph', {
|
|
|
|
\ 'paragraph': {
|
|
|
|
\ 'pattern': ['\n\s*\n\\|\\end\\|\\begin', '\n\s*\n\\|\\begin\\|\\end'],
|
|
|
|
\ 'select-a': 'al',
|
|
|
|
\ 'select-i': 'il',
|
|
|
|
\ },
|
|
|
|
\ })
|
|
|
|
|
2014-09-28 07:31:52 +00:00
|
|
|
" disable annoying "file is read-only" warnings
|
|
|
|
au FileChangedRO * set noreadonly
|
|
|
|
|
2016-01-04 10:44:45 +00:00
|
|
|
let g:deoplete#enable_at_startup = 1
|
2016-01-05 11:42:47 +00:00
|
|
|
let g:deoplete#omni#input_patterns = {}
|
|
|
|
let g:deoplete#omni#input_patterns.scala = '[^. *\t]\.\w*'
|
|
|
|
let g:deoplete#omni#input_patterns.ledger = '[^. *\t]\:\w*'
|
|
|
|
|
2016-01-05 08:26:26 +00:00
|
|
|
nnoremap <c-p> :FZF<cr>
|