Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
3.28k stars 94 forks source link

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

Closed FlowBreeze closed 1 year ago

FlowBreeze commented 1 year ago

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:

尝试过

Expected behavior

GladioFeng commented 1 year ago

遇到了类似的bug,在tmux中tab键补全出错,刚进入tmux可以用tab补全,但是几次过后就tab键就变成了切换功能了,在正常终端tab键补全未出错

GladioFeng commented 1 year ago

好像找到可能的原因了, 把popup-smart-tab 设置为No 就可以了