From c2d20b238e5860e3cd5499e570ff3a786b655516 Mon Sep 17 00:00:00 2001 From: koalp Date: Sun, 23 Feb 2020 05:21:08 +0100 Subject: [PATCH] fix: make list of citations in fzf work again The command used by fzf for listing citations was not working anymore because the command used in fzf is launching an interactive selector. Therefore , the --all option have been added in order to mitigate the issue. This is a dirty workaround --- plugin/papis.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/papis.vim b/plugin/papis.vim index 6a3c294..89999ea 100644 --- a/plugin/papis.vim +++ b/plugin/papis.vim @@ -64,7 +64,7 @@ function! s:Papis(searchline) let l:searchinp = '"*"' endif endif - call fzf#run(fzf#wrap({'source': 'papis list ' . l:searchinp . ' --format ' . g:PapisFormat . ' @{doc[ref]}"', 'sink*': function('s:handler'), 'options': '--multi --expect=ctrl-y --print-query'})) + call fzf#run(fzf#wrap({'source': 'papis list ' . l:searchinp . ' --format ' . g:PapisFormat . ' @{doc[ref]}"' . ' --all', 'sink*': function('s:handler'), 'options': '--multi --expect=ctrl-y --print-query'})) endfunction command! -bang -nargs=* Papis call s:Papis('') -- 2.47.1