junegunn / junegunn/fzf.vim

`preview.sh` is inaccessible under Windows by default.

Open
#1,536 4 comments 0 reactions 0 assignees View on GitHub
windows
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [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

Under Windows, I'm unable to get a preview by running the default `:Files` command.

Following further investigation, I found out that it is possible to run the `preview.sh` file but with the following modification.

`bash /mnt/c/Users/milen/.cache/dein/repos/github.com/junegunn/fzf.vim/bin/preview.sh`

In fact, anything will work when the `/mnt/c/` section is provided even with a simpler path. So the following also works.

`bash /mnt/c/Users/milen/preview.sh`

So the command(s) above are working, however the defaults are unable to execute `preview.sh`. What would be the simplest way to pass that information to `fzf.vim`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.