-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Allow Tab and Shift-Tab to be disabled or reassigned #418
Comments
It's currently not possible to disable or reassign Zsh Autocomplete's Tab and Shift-Tab functionality. I'll have to think about what would be the best way to make this possible. |
As a workaround, you can add the following to your
@SephVelut @LoLei @Alex-duzhichao @crushingCodes @AndreCascais @mjrussell |
@marlonrichert A bit of a followup question/request, I would also like to disable or tweak the Tab behavior. If you have the following directories:
The moment I write Is there any possibility for that? |
@lordzsolt Yes, that’s possible. Just set the following setting to Line 37 in 5b0073d
|
@marlonrichert I also am trying to achieve the same thing as @lordzsolt however your suggestion of setting |
@oldo Works for me: % cd $(mktemp -d)
> .zshrc <<EOF
PS1='%# ' PS2= RPS2='%^'; setopt transientrprompt interactivecomments
source /path/to/zsh-autocomplete.plugin.zsh
zstyle ':autocomplete:*' insert-unambiguous yes
EOF
env -i HOME=$PWD PATH=$PATH TERM=$TERM ${TERMINFO:+TERMINFO=$TERMINFO} zsh -d Please use the above to create a reproducible test case. If I can't reproduce it, then I can't fix it. |
I just realized what would be a good way to give more control over Tab and Shift-Tab assignment: Just don't override the current keybinding. I'll add this to my TODO list. |
I haven't found the time to implement this yet. It's not complex, though. The following should be done:
Pull requests welcome! 🙂 |
I'm using zsh-autosuggestions and it allows me to use its completion with tab and shift+tab. I like it's completion. But I also want to use autocomplete. The problem is that this plugin also uses tab and shift+tab. How can I disable those two keys for autocomplete?
I tried
and
The text was updated successfully, but these errors were encountered: