Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Preview completion #441

Open
IGLADI opened this issue May 17, 2024 · 0 comments
Open

[FR] Preview completion #441

IGLADI opened this issue May 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@IGLADI
Copy link

IGLADI commented May 17, 2024

Is your feature request related to a problem? Please describe.
I both want to use this plugin but be able to have a list of completions as preview (see screenshot 1) and also fill in the first completion with the tab key. With this plugin however there is no preview and if I use another preview like marlonrichert/zsh-autocomplete I can't use this plugin (tab will not have the right function and ctrl+r will use the real fzf)

Describe the solution you'd like
The best solution would be that tab would complete directly if there is only 1 option, else it will show the menu (see screenshot 2), now if i do tab after typing -a fzf-tab search will just start with charachter - (see screenshot 3), it should start with -a, and then if only one option remain just complete else show me the fzf menu.
(and also then unbind previeus tab from marlonrichert/zsh-autocomplete, which it doesn't when I load this plugin as last for some reason)

Describe alternatives you've considered
-Be able to do ctrl+r and when I have already started typing it will use this plugin, else it will let me use the standard fzf (like it currently always does)
-Maybe add your own completion preview similar to marlonrichert/zsh-autocomplete. (so always show the menu until i do tab/arrows don't navigate into it) this would also be great with zstyle ':fzf-tab:complete:cd:*' preshowing dirs on cd)

Additional context
image
image
image
image
ps: I'm pretty new to linux, possible that one option can be done with some config but I didn't managed to personally.

@IGLADI IGLADI added the enhancement New feature or request label May 17, 2024
@IGLADI IGLADI changed the title [FR] [FR] Preview completion May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant