Compare commits

..

1 Commits

Author SHA1 Message Date
c2d20b238e
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
2020-02-23 05:21:08 +01:00

View File

@ -64,7 +64,7 @@ function! s:Papis(searchline)
let l:searchinp = '"*"' let l:searchinp = '"*"'
endif endif
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 endfunction
command! -bang -nargs=* Papis call s:Papis('<args>') command! -bang -nargs=* Papis call s:Papis('<args>')