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

[Q] Select first item

Open Marekkon5 opened this issue 3 years ago • 7 comments

Describe your question

Hello, is there an option to automatically autofill the first item from the list? Related: #247

Normal ZSH / Bash: car [TAB] cargo gets completed

fzf-tab: car [TAB] (menu opens, but the prompt is still just car, you have to press enter to autocomplete the first option).

Thank you.

Marekkon5 avatar Oct 31 '22 22:10 Marekkon5

--select-1 flag?

0x0D15 avatar Nov 01 '22 08:11 0x0D15

Where can I add it?

Marekkon5 avatar Nov 01 '22 09:11 Marekkon5

Reference: https://github.com/Aloxaf/fzf-tab/wiki/Configuration

0x0D15 avatar Nov 01 '22 23:11 0x0D15

Do you mean the first item or the common prefix?

Aloxaf avatar Nov 24 '22 08:11 Aloxaf

E: common prefix is probably the correct bash behavior

Marekkon5 avatar Nov 24 '22 09:11 Marekkon5

How to select the common prefix? Is it possible?

pablospe avatar Dec 25 '22 23:12 pablospe

I have the same question. Automatically completing to the longest unambiguous common prefix would be a nice behavior.

cohml avatar Dec 16 '23 15:12 cohml

#8

Aloxaf avatar Feb 22 '24 09:02 Aloxaf