Closed mangelozzi closed 11 months ago
Hi @mangelozzi,
I’m not sure why this happens, execute-silent
is a rather old flag for fzf and should work with 0.42, I would dig into it to try to figure it out but since fzf-lua is not supported on windows this would be just the first issue of many.
@ibhagwan chiming in regarding the windows support, is it not possible to have it in a very limited scope, i.e without all the multiprocess features, without file icons, all the headless spawning, just the bare bones, i suppose by default we can assume only the performance profile can be supported for windows, or have a dedicated windows profile which is going to disable most of the complex features, might just work, with some tweaking.
@ibhagwan chiming in regarding the windows support, is it not possible to have it in a very limited scope, i.e without all the multiprocess features, without file icons, all the headless spawning, just the bare bones, i suppose by default we can assume only the performance profile can be supported for windows, or have a dedicated windows profile which is going to disable most of the complex features, might just work, with some tweaking.
Unfortunately that won’t be me @asmodeus812, I don’t have windows nor do I have any intention on installing a privacy abusing OS, regarding minimal support, take a look at #772.
by default we can assume only the performance profile can be supported for windows
Btw @asmodeus812, even that would come with a lot of headache but if that’s the case why not use fzf.vim
?
Closing as I'm not planning on adding windows support.
FYI, windows is now supported follow #1038 and the windows branch for more info.
Info
nvim --version
: NVIM v0.10.0-dev-1031+gc431d820efzf --version
: 0.42.0 (d471067)Reproduce
sh -c "$(curl -s https://raw.githubusercontent.com/ibhagwan/fzf-lua/main/scripts/mini.sh)"
:lua require('fzf-lua').setup({})
:lua require("fzf-lua").files()
:mess
to see the error:[Fzf-lua] fzf error 2: unsupported key: execute-silent(C
Description
fzf-lua works brilliantly for me on linux, but unfortunately at work I have to use windows. When I try to open it with:
I get this error when I try to open it:
Have googled but come up empty. Anyone can think of a direction to try please let me know.
I don't know if this helps, but using gitbash on windows prints
:lua print(vim.fn.has("win32"))
prints1
, but it does not have themove
command, it has themv
command cause gitbash is basically MING64 with our linux sh friends we love. So to test if windows maybe a better test islocal is_win = vim.fn.executable('mv') == 0
? If I try the files command using thecmd.exe
shell I get the error:... which at least is different