1

I use Vundle to manage my vim plugins. However I just came across fzf, and its installation instructions require that I use vim-plug.

How do I make this happen? Wouldn't there be a conflict between vundle and vim-plug?

update

I tried installing it using vundle by putting the following in my ~/.vimrc

call vundle#begin()
..
Plugin 'junegunn/fzf.vim'        
call vundle#end()            " required

this seems to have worked fine.. but then when I run vim and type Files I get this error in vim:

Error detected while processing function fzf#vim#files[15]..<SNR>47_fzf[18]..<SNR>47_wrap:
line   12:
E117: Unknown function: fzf#wrap
E15: Invalid expression: fzf#wrap(a:name, opts, a:bang)
line   14:
E121: Undefined variable: wrapped
E15: Invalid expression: wrapped
Error detected while processing function fzf#vim#files[15]..<SNR>47_fzf:
line   18:
E117: Unknown function: fzf#run
E15: Invalid expression: fzf#run(s:wrap(a:name, merged, bang))
Press ENTER or type command to continue

what do I do?

update 2

I installed fzf using brew:

$ which fzf
/usr/local/bin/fzf

but same bug appears..

back to the original question: can vundle and vim-plug co-exist?

4

You've installed the fzf.vim wrapper plugin, but you haven't installed the base fzf plugin, which provides the underlying functionality, including the autoload functions that the error messages are flagging as "Unknown".

Try using:

Plugin 'junegunn/fzf'
Plugin 'junegunn/fzf.vim'
  • works.. quick question: what does it mean when a repo on git hub ends in .vim rather than the rest of them (ie .git)? Does it have a special meaning? – abbood Sep 29 '17 at 18:10
  • @abbood It usually indicates that the repository is a Vim plugin, but it's just the name that the repository creator picked, so it doesn't really mean anything in the way you're imagining. – Rich Sep 30 '17 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.