Skip to content

Can't use :FZF --expect=! from neovim on windows #3620

Closed
@adigitoleo

Description

@adigitoleo
  • I have read through the manual page (man fzf)
  • I have the latest version of fzf
  • I have searched through the existing issues

Info

  • OS
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Shell
    • bash
    • zsh
    • fish
    • pwsh.exe (PowerShell 7.4.1)

Problem / Steps to reproduce

  • Install fzf on Windows 11 Home 23H2 using winget install --id junegunn.fzf
  • Launch PowerShell 7.4.1 (current version available on winget)
  • Launch neovim 0.9.5 (also on winget) with nvim -u NORC
  • Run :FZF --expect=!

On Linux, this works as expected (when ! is pressed, :FZF exits and opens the selected entry). On windows, using the above setup, fzf exits with an error:

key names required

This must come from fzf#run, the low-level interface used for the :FZF command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions