1

I try to use the plugin fzf-Bibtex to insert citations in a scientific paper.

I have installed all dependencies and plugins.

These have been added to my .vimrc:

Plug 'msprev/fzf-bibtex' 
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } 
Plug 'junegunn/fzf.vim'

As mentioned in the documentation, I have used the VIM command line:

:bibtex-ls

But got the error:

E492: Not an editor command: bibtex-ls
  • Has anyone tried to use this plugin?
  • Is that the right command to use?
  • If not, how did you manage to use citations with the PlugIn?
1
  • 1
    bibtex-ls is a command-line tool that makes it easy to integrate with fzf. From vim, you would need to use the fzf support to invoke bibtex-ls
    – D. Ben Knoble
    Feb 1, 2022 at 14:37

1 Answer 1

1

The command to type to test it is in your path is

:!bibtex-ls

You are executing an external programme, not a vim command.

However, if you want to actually use fzf-bibtex in Vim in a meaningful way, you need to integrate it into your vim-fzf setup as described in the manual.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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