fzf-tab icon indicating copy to clipboard operation
fzf-tab copied to clipboard

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

Open pablospe opened this issue 3 years ago • 5 comments

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'

pablospe avatar Dec 25 '22 23:12 pablospe

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

Schievel1 avatar Jan 27 '23 13:01 Schievel1

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 avatar Jan 28 '23 22:01 pablospe

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.

pablospe avatar Feb 01 '23 10:02 pablospe