Skip to content

Instantly share code, notes, and snippets.

@gidgid
Created March 31, 2020 19:06
Show Gist options
  • Save gidgid/521eecd41756b816389d77c55a6c05eb to your computer and use it in GitHub Desktop.
Save gidgid/521eecd41756b816389d77c55a6c05eb to your computer and use it in GitHub Desktop.
Add preview to GFiles & Files in FZF.vim
" Add preview to files search
command! -bang GFiles call fzf#vim#gitfiles('', fzf#vim#with_preview('right'))
command! -bang Files call fzf#vim#files('', fzf#vim#with_preview('right'))
" Just use :GFiles & :Files regularly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment