2014-03-19 15:05:30 -04:00
|
|
|
if &compatible
|
|
|
|
set nocompatible
|
|
|
|
end
|
2013-04-16 20:24:00 -04:00
|
|
|
|
2016-10-31 21:21:40 -04:00
|
|
|
" Remove declared plugins
|
|
|
|
function! s:UnPlug(plug_name)
|
|
|
|
if has_key(g:plugs, a:plug_name)
|
|
|
|
call remove(g:plugs, a:plug_name)
|
|
|
|
endif
|
|
|
|
endfunction
|
|
|
|
command! -nargs=1 UnPlug call s:UnPlug(<args>)
|
|
|
|
|
2017-08-10 09:35:50 -04:00
|
|
|
let g:has_async = v:version >= 800 || has('nvim')
|
|
|
|
|
2015-02-18 21:29:50 -05:00
|
|
|
call plug#begin('~/.vim/bundle')
|
2013-04-16 20:24:00 -04:00
|
|
|
|
|
|
|
" Define bundles via Github repos
|
2015-02-18 21:29:50 -05:00
|
|
|
Plug 'christoomey/vim-run-interactive'
|
2019-07-12 17:09:20 -04:00
|
|
|
if executable('fzf')
|
|
|
|
Plug '/usr/local/opt/fzf'
|
|
|
|
else
|
|
|
|
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
|
|
|
endif
|
|
|
|
Plug 'junegunn/fzf.vim'
|
2017-02-17 15:24:47 -05:00
|
|
|
Plug 'elixir-lang/vim-elixir'
|
2015-11-13 09:29:46 -06:00
|
|
|
Plug 'fatih/vim-go'
|
2016-02-11 22:03:38 -05:00
|
|
|
Plug 'janko-m/vim-test'
|
2017-05-08 10:36:07 -07:00
|
|
|
Plug 'pangloss/vim-javascript'
|
2015-02-18 21:29:50 -05:00
|
|
|
Plug 'pbrisbin/vim-mkdir'
|
|
|
|
Plug 'slim-template/vim-slim'
|
|
|
|
Plug 'tpope/vim-bundler'
|
|
|
|
Plug 'tpope/vim-endwise'
|
|
|
|
Plug 'tpope/vim-eunuch'
|
|
|
|
Plug 'tpope/vim-fugitive'
|
2015-10-03 11:02:29 -04:00
|
|
|
Plug 'tpope/vim-projectionist'
|
2015-02-18 21:29:50 -05:00
|
|
|
Plug 'tpope/vim-rails'
|
2015-10-03 11:02:29 -04:00
|
|
|
Plug 'tpope/vim-rake'
|
2015-02-18 21:29:50 -05:00
|
|
|
Plug 'tpope/vim-repeat'
|
2016-02-18 09:23:50 -05:00
|
|
|
Plug 'tpope/vim-rhubarb'
|
2015-02-18 21:29:50 -05:00
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
Plug 'vim-ruby/vim-ruby'
|
|
|
|
Plug 'vim-scripts/tComment'
|
2017-08-07 20:36:01 -04:00
|
|
|
|
|
|
|
if g:has_async
|
2019-07-29 15:49:37 -04:00
|
|
|
Plug 'dense-analysis/ale'
|
2017-08-07 20:36:01 -04:00
|
|
|
endif
|
2013-04-16 20:24:00 -04:00
|
|
|
|
2013-08-03 10:10:51 -04:00
|
|
|
if filereadable(expand("~/.vimrc.bundles.local"))
|
|
|
|
source ~/.vimrc.bundles.local
|
|
|
|
endif
|
|
|
|
|
2015-02-18 21:29:50 -05:00
|
|
|
call plug#end()
|