From e541c7f90cef28ba711219fae9d604fa5ebb5800 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 13 Nov 2017 19:03:12 -0800 Subject: [PATCH] Only load ctrlp if fzf command is missing --- vim/rc/plugins.rc.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vim/rc/plugins.rc.vim b/vim/rc/plugins.rc.vim index d3b132e..07eacdd 100644 --- a/vim/rc/plugins.rc.vim +++ b/vim/rc/plugins.rc.vim @@ -24,9 +24,10 @@ call s:smart_source_rc('plugins/gitgutter') " }} Git " Searching {{ -" call s:smart_source_rc('plugins/ctrlp') +if !executable('fzf') + call s:smart_source_rc('plugins/ctrlp') +endif call s:smart_source_rc('plugins/fzf') -" call s:smart_source_rc('plugins/incsearch') call s:smart_source_rc('plugins/vim-grepper') " }} Searching