We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Assuming | is the cursor position:
|
echo $AUTOPAIR_PAIRS[|] => Tab
echo $AUTOPAIR_PAIRS[|]
Trailing ] interferes with completion and no completion is done.
]
This allows completion to work regardless of what's in front of the cursor:
bindkey '^I' expand-or-complete-prefix
I want a better solution though. Perhaps a combination of setopt COMPLETE_IN_WORD and _prefix completion...?
The text was updated successfully, but these errors were encountered:
Does the workaround still work? I tried it for
echo ${|}
to complete environment variables but it does not seem to work on zsh 5.5.1.
Sorry, something went wrong.
No branches or pull requests
Assuming
|
is the cursor position:echo $AUTOPAIR_PAIRS[|]
=> TabExpected
Actual
Trailing
]
interferes with completion and no completion is done.Workaround
This allows completion to work regardless of what's in front of the cursor:
bindkey '^I' expand-or-complete-prefix
I want a better solution though. Perhaps a combination of setopt COMPLETE_IN_WORD and _prefix completion...?
The text was updated successfully, but these errors were encountered: