diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 43d5059a..526f245e 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -121,6 +121,10 @@ try throw v:exception endtry + if !has_key(dict, 'source') && !empty($FZF_DEFAULT_COMMAND) + let dict.source = $FZF_DEFAULT_COMMAND + endif + if has_key(dict, 'source') let source = dict.source let type = type(source)