Aloxaf / fzf-tab

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

[Q] Is it possible to use continuous-trigger with TAB and ENTER? #338

Open pablospe opened 1 year ago

pablospe commented 1 year ago

I would like to accept the selection with TAB (and ENTER), and then continue with the next completion, as it would happened with / keybinding (if continuous-trigger is set on).

I have tried the following without success:

zstyle ':fzf-tab:*' continuous-trigger '\e'
Schievel1 commented 1 year ago

Is it possible to do accept the completion using TAB? // with zstyle ':fzf-tab:complete:*' fzf-bindings 'tab:accept'

pablospe commented 1 year ago

Thanks for the reply, I ended up using: zstyle ':fzf-tab:*' continuous-trigger 'ctrl-e'

for ENTER it would be: zstyle ':fzf-tab:*' continuous-trigger 'enter'

and with TAB: zstyle ':fzf-tab:*' continuous-trigger 'tab'

But this is not the behaviour I wanted, reason why I am using another shortcut (Ctrl-e).

pablospe commented 1 year ago

Is there a way to have multiple of bindings for the same action?

zstyle ':fzf-tab:*' continuous-trigger 'ctrl-e'
zstyle ':fzf-tab:*' continuous-trigger 'enter'

It will only work keep the last one.