Closed Glitchzzy closed 9 months ago
zstyle ':fzf-tab:*' fzf-bindings 'tab:accept' stops working after changing directories and going back
zstyle ':fzf-tab:*' fzf-bindings 'tab:accept'
I can make sure:
compinit
Steps to reproduce the behavior:
source ~/.zshrc
cd
cd ..
clear
Keep using tab as the binded key
https://github.com/Aloxaf/fzf-tab/assets/139287915/d61f6063-2a7c-44ba-affd-9acc907db8ff
[[ -z $TMUX ]] && exec tmux zstyle ':fzf-tab:' fzf-bindings 'tab:accept' zstyle ':fzf-tab:' fzf-command ftb-tmux-popup
Just disable popup-smart-tab: zstyle ':fzf-tab:*' popup-smart-tab no
popup-smart-tab
zstyle ':fzf-tab:*' popup-smart-tab no
https://github.com/Aloxaf/fzf-tab/blob/b06e7574577cd729c629419a62029d31d0565a7a/lib/ftb-tmux-popup#L75-L77
Describe the bug
zstyle ':fzf-tab:*' fzf-bindings 'tab:accept'
stops working after changing directories and going backI can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
zstyle ':fzf-tab:*' fzf-bindings 'tab:accept'
to your ~/.zshrc file andsource ~/.zshrc
cd
orcd ..
to go back one directoryclear
command the bind starts works againExpected behavior
Keep using tab as the binded key
Screenshots
https://github.com/Aloxaf/fzf-tab/assets/139287915/d61f6063-2a7c-44ba-affd-9acc907db8ff
Environment:
Minimal zshrc (My current settings for FZF-Tab)
[[ -z $TMUX ]] && exec tmux zstyle ':fzf-tab:' fzf-bindings 'tab:accept' zstyle ':fzf-tab:' fzf-command ftb-tmux-popup