fzf-filemru icon indicating copy to clipboard operation
fzf-filemru copied to clipboard

How to pass arguments to underlying fzf?

Open npearson72 opened this issue 6 years ago • 3 comments

Is there a way to customize fzf using the various suggestions on their wiki?

For example, I like this preview option which looks great, but it doesn't appear with your plugin:

command! -bang -nargs=? -complete=dir Files
  \ call fzf#vim#files(<q-args>, fzf#vim#with_preview(), <bang>0)

npearson72 avatar Dec 14 '18 06:12 npearson72

Also, is it possible to use the same global options as fzf, e.g: let g:fzf_files_options = "--ansi --preview \"bat --style=plain $( echo {} | awk '{print $NF}' )\" --preview-window right:100" ?

danihodovic avatar Dec 22 '18 06:12 danihodovic

this is a show stopper for me :'(

dagadbm avatar Nov 05 '19 14:11 dagadbm

it also doesnt work with neovim floating window

dagadbm avatar Nov 05 '19 17:11 dagadbm