Open rr- opened 7 years ago
Normal fzf works.
Are you sure about this? fzf doesn't run on Cygwin.
I am positive - I've installed golang by hand (had to provide some environment variables) and ran ~/.fzf/install
that worked like a charm. Executing fzf
without any option in a given directory shows the filenames, and ^R reverse history search works as well IIRC. So it's just :Ag
and :Files
in Vim.
Interesting, I'll try it when I get a chance.
Hmm, by the way, last time I checked golang didn't support cygwin.
Even if it doesn't it works: http://dgtech.ga/2016/01/27/cygwin-go/
I mean, it runs inside cygwin shell without problems, and the fzf that is built by it works nice as well. You're right in the sense that there are no builds targeted for cygwin.
+1 , fzf works, but fzf.vim doesn't because there is an output to /tmp
Initial attempt in supporting cygwin in the vim plugin via cygpath
and Windows binary of fzf
https://github.com/janlazo/fzf/blob/vim/shellesc_cygwin/plugin/fzf.vim
bash/sh.exe in cygwin uses cmd.exe under the hood so /tmp
doesn't actually exist.
@johnzeng @rr Can you test on the latest fzf? The vim plugin has basic support for cygwin.
Latest fzf and fzf.vim have Windows support with or without msysgit or cygwin.
https://github.com/junegunn/fzf/blob/master/src/options.go#L829-L831
Normal
fzf
works.