voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.46k stars 79 forks source link

Using fzf on Windows #434

Closed IC0hO closed 3 months ago

IC0hO commented 3 months ago

When using fzf on Windows, the command needs to be ":FloatermNew fzf.exe" in order to open it, while using ":FloatermNew fzf" just flashes and closes. However, even with ":FloatermNew fzf.exe", I am unable to select files and open them, and there is also no file preview functionality.

I have downloaded the "fzf.exe" and "bat.exe" files from the official GitHub repository and added them to the system environment variables to use them.

Could you please provide some suggestions on how to properly use fzf with file selection and previewing on Windows using the Floaterm plugin in Vim? I'm having trouble getting the full functionality working as expected.

IC0hO commented 3 months ago

I figured out something wrong. Since I use pwsh, I need to change cmd.exe to pwsh.exe in util.vim.