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

Bind to double-tab #42

Closed
AndrewC-B opened this issue Feb 24, 2020 · 2 comments
Closed

Bind to double-tab #42

AndrewC-B opened this issue Feb 24, 2020 · 2 comments
Labels
question Further information is requested

Comments

@AndrewC-B
Copy link

AndrewC-B commented Feb 24, 2020

I really like this plugin, but I'd prefer to bind it to tab-tab. Is this possible? I naively tried replacing ^I with ^I^I in the script, but that didn't work.

Any and all help greatly appreciated, and many thanks for this project!

(This is similar to #8, but perhaps simpler. Feel free to close this issue if it's too similar)

@Aloxaf
Copy link
Owner

Aloxaf commented Feb 25, 2020

^I appears twice in the script, you just need to replace the second ^I.

bindkey '^I' fzf-tab-complete

Or put the following code below the code that loads fzf-tab

bindkey '^I' expand-or-complete
bindkey '^I^I' fzf-tab-complete

@Aloxaf Aloxaf added the question Further information is requested label Feb 28, 2020
@Aloxaf Aloxaf closed this as completed Feb 28, 2020
@AndrewC-B
Copy link
Author

Thanks heaps! That’s perfect. (Sorry for the late reply - busy week).

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

No branches or pull requests

2 participants