fzf.vim icon indicating copy to clipboard operation
fzf.vim copied to clipboard

Fzf.vim wants to use WSL even if bat.exe is available.

Open avysk opened this issue 2 years ago • 0 comments

Hello, thanks for the great plugin! I miss something and would appreciate any pointers.

  • [x] I have fzf 0.30.0 or above
  • [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
  • [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
  • [x] I have read through the manual page of fzf (man fzf)
  • [x] I have searched through the existing issues

I run Windows 11, and I have native (Windows exe) fzf, bat, ag, rg. However, whenever fzf.vim wants to show a preview, it executes batcat in WSL. I was not able to inform fzf.vim that I have bat.exe without overriding fzf.vim's commands. Do I miss something?

avysk avatar Feb 08 '23 16:02 avysk