Skip to content

[BUG] 在最新版本的 fzf-tab 中无法使用 fzf-bindings 参数绑定 tab:accept #383

@FlowBreeze

Description

@FlowBreeze

Describe the bug

@Aloxaf 很抱歉使用中文,因为我觉得母语表达会更加准确些
在最新版本的 fzf-tab 中无法使用 fzf-bindings 参数绑定 tab:accept

this is the minimal zshrc which can reproduce this bug

# fzf-tab
# tab,space:  将当前选项上屏
zinit wait lucid for \
    depth"1" \
    atload"zstyle ':fzf-tab:*' fzf-bindings 'tab:accept' 'space:accept'" \
    atload"zstyle ':fzf-tab:*' fzf-command sk" \
    Aloxaf/fzf-tab

To Reproduce

  1. 输入 ls
  2. 按 tab 访问 fzf-tab
  3. 无法使用 tab 进行补全

Environment:

  • OS: Ubuntu 22.04
  • zsh 5.8.1 (x86_64-ubuntu-linux-gnu)

尝试过

  • 在 '~/.local/share/zinit/plugins/Aloxaf---fzf-tab' 下执行 git checkout f95cdcf 命令, 再次尝试补全, 运行正常符合预期
  • 使用 echo 1 | sk --bind 'tab:accept,space:accept' 命令, 尝试使用 tab 补全, 运行正常符合预期

Expected behavior

  • 可以通过上述配置使用 tab 进行补全
  • 如果现在的状态符合预期,请告诉我是否有官方推荐的配置,能达成以前版本直接使用 tab 进行补全的状态

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions