junegunn / fzf

:cherry_blossom: A command-line fuzzy finder
https://junegunn.github.io/fzf/
MIT License
61.95k stars 2.34k forks source link

make :FZF work in Vim from Git Bash #3798

Closed Konfekt closed 1 month ago

Konfekt commented 1 month ago

Despite its title 'Calling fzf#run with a list as source fail (n)vim is used from git bash' the issue in

https://github.com/junegunn/fzf/issues/3777

of running :FZF in Vim in Git Bash was apparently only fixed for Neovim in Git Bash on Windows 11, but not for Vim from Git Bash.

In view of this, replacing /C by ///C might be considered a universal fix.

This PR just proposes the patch in https://github.com/junegunn/fzf/issues/1983 that still seems open.

In view of the fourth item in the most recent 2.45.0 https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md#known-issues little seems to have changed regarding path conversion of arguments containing forward slashes