Summary: Using CtrlP has proven to be slower and has fewer features. We've been switching over to FZF on a frequent enough basis that it feels appropriate to make FZF the new default for fuzzy searching. By swapping out Ctrlp in favor of FZF, this should not break anyone's fuzzy search but it will replace the tool that executes the search. Co-authored-by: Chris Toomey <chris@ctoomey.com>
52 lines
1.1 KiB
Text
52 lines
1.1 KiB
Text
if &compatible
|
|
set nocompatible
|
|
end
|
|
|
|
" 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>)
|
|
|
|
let g:has_async = v:version >= 800 || has('nvim')
|
|
|
|
call plug#begin('~/.vim/bundle')
|
|
|
|
" Define bundles via Github repos
|
|
Plug 'christoomey/vim-run-interactive'
|
|
if executable('fzf')
|
|
Plug '/usr/local/opt/fzf'
|
|
else
|
|
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
|
endif
|
|
Plug 'junegunn/fzf.vim'
|
|
Plug 'elixir-lang/vim-elixir'
|
|
Plug 'fatih/vim-go'
|
|
Plug 'janko-m/vim-test'
|
|
Plug 'pangloss/vim-javascript'
|
|
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'
|
|
Plug 'tpope/vim-projectionist'
|
|
Plug 'tpope/vim-rails'
|
|
Plug 'tpope/vim-rake'
|
|
Plug 'tpope/vim-repeat'
|
|
Plug 'tpope/vim-rhubarb'
|
|
Plug 'tpope/vim-surround'
|
|
Plug 'vim-ruby/vim-ruby'
|
|
Plug 'vim-scripts/tComment'
|
|
|
|
if g:has_async
|
|
Plug 'dense-analysis/ale'
|
|
endif
|
|
|
|
if filereadable(expand("~/.vimrc.bundles.local"))
|
|
source ~/.vimrc.bundles.local
|
|
endif
|
|
|
|
call plug#end()
|