diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index ea2c8b6..f334b99 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -422,7 +422,7 @@ function! fzf#vim#gitfiles(args, ...) let wrapped = fzf#wrap({ \ 'source': 'git -c color.status=always status --short', \ 'dir': root, - \ 'options': '--ansi --multi --nth 2..,.. --prompt "GitFiles?> "' + \ 'options': '--ansi --multi --nth 2..,.. --prompt "GitFiles?> " --preview ''(git diff --color=always {-1} | sed 1,4d; cat {-1}) | head -500''' \}) call s:remove_layout(wrapped) let wrapped.common_sink = remove(wrapped, 'sink*')