diff --git a/plugins/airline.vim b/plugins/airline.vim index 65bf626..66bef46 100644 --- a/plugins/airline.vim +++ b/plugins/airline.vim @@ -1,3 +1,5 @@ +Plug 'bling/vim-airline' + let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 diff --git a/plugins/auto-pairs.vim b/plugins/auto-pairs.vim new file mode 100644 index 0000000..42b1791 --- /dev/null +++ b/plugins/auto-pairs.vim @@ -0,0 +1 @@ +"Plug 'jiangmiao/auto-pairs' diff --git a/plugins/csapprox.vim b/plugins/csapprox.vim new file mode 100644 index 0000000..cca3371 --- /dev/null +++ b/plugins/csapprox.vim @@ -0,0 +1 @@ +"Plug 'godlygeek/csapprox' diff --git a/plugins/ctrlp.vim b/plugins/ctrlp.vim index e43cd5d..56bcfce 100644 --- a/plugins/ctrlp.vim +++ b/plugins/ctrlp.vim @@ -1,3 +1,5 @@ +Plug 'kien/ctrlp.vim' + let g:ctrlp_cmd = "CtrlPBuffer" let g:ctrlp_prompt_mappings = { \ 'ToggleType(1)': ['', '', ''], diff --git a/plugins/gnupg.vim b/plugins/gnupg.vim new file mode 100644 index 0000000..766fbc8 --- /dev/null +++ b/plugins/gnupg.vim @@ -0,0 +1 @@ +Plug 'vim-scripts/gnupg' diff --git a/plugins/gundo.vim b/plugins/gundo.vim index 4d70111..02915ab 100644 --- a/plugins/gundo.vim +++ b/plugins/gundo.vim @@ -1,3 +1,7 @@ +if v:version >= 703 + Plug 'vim-scripts/Gundo', { 'on': 'GundoToggle' } +endif + let g:gundo_width = 60 let g:gundo_preview_height = 30 let g:gundo_right = 1 diff --git a/plugins/haskellmode.vim b/plugins/haskellmode.vim index 11973e7..eb03a43 100644 --- a/plugins/haskellmode.vim +++ b/plugins/haskellmode.vim @@ -1,3 +1,5 @@ -let g:haddock_browser="/usr/bin/chromium" +"Plug 'lukerandall/haskellmode-vim', { 'for': 'haskell' } + +let g:haddock_browser="/usr/bin/firefox" "au BufEnter *.hs compiler ghc diff --git a/plugins/molokai.vim b/plugins/molokai.vim index 671c27b..75a5374 100644 --- a/plugins/molokai.vim +++ b/plugins/molokai.vim @@ -1,3 +1,5 @@ +Plug 'tomasr/molokai' + set background=dark "let g:molokai_original = 1 diff --git a/plugins/nerdcommenter.vim b/plugins/nerdcommenter.vim new file mode 100644 index 0000000..e904329 --- /dev/null +++ b/plugins/nerdcommenter.vim @@ -0,0 +1 @@ +Plug 'scrooloose/nerdcommenter' diff --git a/plugins/nerdtree.vim b/plugins/nerdtree.vim index 6b02260..c7420e7 100644 --- a/plugins/nerdtree.vim +++ b/plugins/nerdtree.vim @@ -1,4 +1,6 @@ -au bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif +Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } +Plug 'scrooloose/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' } +au bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif noremap nt :NERDTreeToggle vnoremap nt :NERDTreeToggle diff --git a/plugins/pandoc.vim b/plugins/pandoc.vim index a4d98c8..ab1f2eb 100644 --- a/plugins/pandoc.vim +++ b/plugins/pandoc.vim @@ -1,3 +1,8 @@ +if v:version >= 704 + Plug 'vim-pandoc/vim-pandoc' + Plug 'vim-pandoc/vim-pandoc-syntax' +endif + " the filetypes for which vim-pandoc should be used let g:pandoc#filetypes#handles = [ "markdown", "pandoc" ] diff --git a/plugins/seoul256.vim b/plugins/seoul256.vim index 367fa94..2f0f40b 100644 --- a/plugins/seoul256.vim +++ b/plugins/seoul256.vim @@ -12,6 +12,8 @@ " seoul256 233 - 239 237 " seoul256-light 252 - 256 253 +Plug 'junegunn/seoul256.vim' + let g:seoul256_background = 237 let g:seoul256_light_background = 254 diff --git a/plugins/syntastic.vim b/plugins/syntastic.vim index bb232fe..409084d 100644 --- a/plugins/syntastic.vim +++ b/plugins/syntastic.vim @@ -1,3 +1,5 @@ +Plug 'scrooloose/syntastic', {'for': ['c', 'cpp', 'python', 'sh']} + let g:syntastic_enable_signs = 1 let g:syntastic_check_on_open = 1 let g:syntastic_enable_highlighting = 1 diff --git a/plugins/tagbar.vim b/plugins/tagbar.vim index 9a79b19..77916f6 100644 --- a/plugins/tagbar.vim +++ b/plugins/tagbar.vim @@ -1,2 +1,4 @@ +Plug 'majutsushi/tagbar' + nnoremap tag :TagbarToggle vnoremap tag :TagbarToggle diff --git a/plugins/vim-commentary.vim b/plugins/vim-commentary.vim new file mode 100644 index 0000000..4097c93 --- /dev/null +++ b/plugins/vim-commentary.vim @@ -0,0 +1 @@ +"Plug 'tpope/vim-commentary' diff --git a/plugins/vim-editorconfig.vim b/plugins/vim-editorconfig.vim new file mode 100644 index 0000000..6f9332a --- /dev/null +++ b/plugins/vim-editorconfig.vim @@ -0,0 +1 @@ +Plug 'editorconfig/editorconfig-vim' diff --git a/plugins/vim-haskellConceal.vim b/plugins/vim-haskellConceal.vim new file mode 100644 index 0000000..3623ed2 --- /dev/null +++ b/plugins/vim-haskellConceal.vim @@ -0,0 +1 @@ +"Plug 'Twinside/vim-haskellConceal', { 'for': 'haskell' } diff --git a/plugins/vim-hoogle.vim b/plugins/vim-hoogle.vim new file mode 100644 index 0000000..1ed33be --- /dev/null +++ b/plugins/vim-hoogle.vim @@ -0,0 +1 @@ +"Plug 'Twinside/vim-hoogle', { 'for': 'haskell' } diff --git a/plugins/vim-polyglot.vim b/plugins/vim-polyglot.vim new file mode 100644 index 0000000..1f75db5 --- /dev/null +++ b/plugins/vim-polyglot.vim @@ -0,0 +1 @@ +Plug 'hoelzro/vim-polyglot' diff --git a/plugins/youcompleteme.vim b/plugins/youcompleteme.vim index 644c48d..f5c8348 100644 --- a/plugins/youcompleteme.vim +++ b/plugins/youcompleteme.vim @@ -1,3 +1,7 @@ +if v:version >= 704 + Plug 'Valloric/YouCompleteMe', {'do': 'python2 install.py --clang-completer' } +endif + let g:ycm_global_ycm_extra_conf = g:vim_config_home . "/plugins/youcompleteme/ycm_extra_conf.py" let g:ycm_autoclose_preview_window_after_completion = 1