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

[Q]Double tapping Tab Required #368

Open
JustCauseWhyNot opened this issue May 8, 2023 · 7 comments
Open

[Q]Double tapping Tab Required #368

JustCauseWhyNot opened this issue May 8, 2023 · 7 comments
Labels
need information Need for more information to confirm question Further information is requested

Comments

@JustCauseWhyNot
Copy link

For some reason in the past month or so pressing tab 2x is required in order for tab completion menu to show up. I don't know why the behavior has changed. I narrowed the issue down to this plugin. Here's my zsh dotfiles. I'd like to only have to press tab 1x to bring up the completion menu.

@JustCauseWhyNot JustCauseWhyNot added the question Further information is requested label May 8, 2023
@Aloxaf
Copy link
Owner

Aloxaf commented Jun 9, 2023

fzf-tab should load before fast-syntax-highlighting and zsh-autosuggestions.

+source $ZDOTDIR/plugins/fzf-tab/fzf-tab.plugin.zsh
source $ZDOTDIR/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
source $ZDOTDIR/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh && bindkey '^ ' autosuggest-accept
-source $ZDOTDIR/plugins/fzf-tab/fzf-tab.plugin.zsh

If the problem still exists, check the output of bindkey "^I". If it is fzf-tab-complete, then trigger completion with Ctrl+X . and upload the log.

@Aloxaf Aloxaf added the need information Need for more information to confirm label Jun 9, 2023
@JustCauseWhyNot
Copy link
Author

I don't really know what you mean with

trigger completion with Ctrl+X . and upload the log.

There's not output into the console, and I don't know what & where the log is supposed to be. I also can't seem to complete a completion while pressing cntrl+x.

@Aloxaf
Copy link
Owner

Aloxaf commented Jun 11, 2023

@JustCauseWhyNot Press Ctrl+x,and then press .

@JustCauseWhyNot
Copy link
Author

I'm sorry for being a bozo. But I don't think I'm getting the effect you want. I press tab 1x to run a completion but I've got to press tab(or any key) 2x to for the menu to show. So I press tab no menu then I press Ctrl+x brings up menu then . it doesn't appear to do anything, and finally I press enter to select anything to finish completion. But no debugging output is shown, and if the output is being sent to a log somewhere I don't know which file to look upload.

@Aloxaf
Copy link
Owner

Aloxaf commented Jun 13, 2023

@JustCauseWhyNot What's the output of bindkey "^I"

@JustCauseWhyNot
Copy link
Author

❯ bindkey "^I"
"^I" fzf-tab-complete

@JustCauseWhyNot
Copy link
Author

Is this kinda dead? Is there anything I can provide in-order to help troubleshoot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need information Need for more information to confirm question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants