Skip to content

Bug: Skim shows nothing on Windows #2656

Description

@Grueslayer

RTFM Checklist

  • I have searched exisiting issues / discussions
  • I have read the Wiki including the Advanced section
  • I have read man fzf / I am well versed in shell fzf

Operating system

Windows

Shell

pwsh

Neovim version (nvim --version)

NVIM v0.13.0-dev-125+g9c5fba5df0

Fzf version (fzf --version)

sk 4.5.1

Output of :lua print(os.getenv('FZF_DEFAULT_OPTS'))

nil

Is the problem reproducible with mini.sh?

  • My issue is reproducible with mini.sh
  • My issue IS NOT reproducible with mini.sh
  • I have not tested with mini.sh (not relevant, requires LSP, Windows, etc)

Fzf-lua configuration

require('fzf-lua').setup({
        fzf_bin = "sk",
        fzf_opts = {
          ['--layout'] = 'default',
        },
        winopts = {
          height = 0.95,
          width = 0.95
        },
})

Describe the bug / steps to reproduce

All actions (files, oldfiles, buffers etc.) show an empty list with no entries, the created command runs fine in console or executed in :term terminal, e.g. for files()

sk  --ansi --layout="default" --prompt="c:\Temp\\" --bind="alt-shift-down:preview-down,ctrl-e:end-of-line,ctrl-f:half-page-down,shift-down:preview-page-down,ctrl-u:unix-line-discard,ctrl-z:abort,alt-G:last,f4:toggle-preview,alt-g:first,f3:toggle-preview-wrap,alt-a:toggle-all,shift-up:preview-page-up,alt-shift-up:preview-up,ctrl-a:beginning-of-line,ctrl-b:half-page-up" --bind="alt-Q:execute-silent:^\"C:/Program Files/Neovim/bin/nvim.exe^\" -u NONE -l ^\"C:/Users/username /AppData/Local/nvim-data/lazy/fzf-lua/lua/fzf-lua/rpc.lua^\" 1 nil {+} {q} {n}" --bind="alt-q:execute-silent:^\"C:/Program Files/Neovim/bin/nvim.exe^\" -u NONE -l ^\"C:/Users/username /AppData/Local/nvim-data/lazy/fzf-lua/lua/fzf-lua/rpc.lua^\" 2 nil {+} {q} {n}" --bind="esc:execute-silent:^\"C:/Program Files/Neovim/bin/nvim.exe^\" -u NONE -l ^\"C:/Users/username /AppData/Local/nvim-data/lazy/fzf-lua/lua/fzf-lua/rpc.lua^\" 6 nil {+} {q} {n}" --bind="ctrl-v:execute-silent:^\"C:/Program Files/Neovim/bin/nvim.exe^\" -u NONE -l ^\"C:/Users/username /AppData/Local/nvim-data/lazy/fzf-lua/lua/fzf-lua/rpc.lua^\" 7 nil {+} {q} {n}" --bind="ctrl-s:execute-silent:^\"C:/Program Files/Neovim/bin/nvim.exe^\" -u NONE -l ^\"C:/Users/username /AppData/Local/nvim-data/lazy/fzf-lua/lua/fzf-lua/rpc.lua^\" 3 nil {+} {q} {n}" --bind="ctrl-t:execute-silent:^\"C:/Program Files/Neovim/bin/nvim.exe^\" -u NONE -l ^\"C:/Users/username /AppData/Local/nvim-data/lazy/fzf-lua/lua/fzf-lua/rpc.lua^\" 4 nil {+} {q} {n}" --bind="enter:execute-silent:^\"C:/Program Files/Neovim/bin/nvim.exe^\" -u NONE -l ^\"C:/Users/username /AppData/Local/nvim-data/lazy/fzf-lua/lua/fzf-lua/rpc.lua^\" 5 nil {+} {q} {n}" --bind="alt-f:accept(alt-f),alt-h:accept(alt-h),alt-i:accept(alt-i),ctrl-c:accept(ctrl-c)" --preview-window="nohidden:right:0" --multi --preview="^\"C:/Program Files/Neovim/bin/nvim.exe^\" -u NONE -l ^\"C:/Users/username /AppData/Local/nvim-data/lazy/fzf-lua/lua/fzf-lua/rpc.lua^\" 8 nil {} {q} {n}" --print-query --nth="-1.." --delimiter="[ ]" --height="100%" 

seems there is a STDIN/STDOUT problem or sk behaves different when not called inside a console and gives no output to neovim.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsWindows OSbugSomething isn't workingupstreamAn issue upstream (neovim, fzf, etc)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions