You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin overrides the default binding for \t from complete to expand:execute. If no expand rules match, the completion behaviour is supposed to fall back to default complete (show completion list and pager navigation for subsequent Tab).
With fish 3.0, there were some changes to handling of tab completion. This causing the expand:choose-next function to not work the same as previously. It no-ops instead of scrolling through the choices (emulating default complete behaviour).
The text was updated successfully, but these errors were encountered:
ipwnponies
changed the title
Non-expand tab completion behaviour changed from default, with fish 3.0
expand:choose-next tab completion behaviour changed from fish 3.0 default
Jan 3, 2019
# If no replacements are available for the current token, defer to regular completion.
ifnotset-q __expand_replacements[1]
commandline-fcomplete
return
end
I tested the behaviour of complete vs. commandline -f complete, on fish 3.0.0 and fish 2.7.1:
bind\tcompletebind\cx 'commandline -f complete'
complete will show and invoke completion pager, allowing for scrolling through entries with each subsequent key press. commandline -f completeonly shows the completions, it doesn't enter the pager. Aftering entering the pager manually (using tab or arrow keys), then it will allow scrolling.
haifengkao
added a commit
to haifengkao/plugin-expand
that referenced
this issue
Jun 24, 2019
This plugin overrides the default binding for
\t
fromcomplete
toexpand:execute
. If no expand rules match, the completion behaviour is supposed to fall back to defaultcomplete
(show completion list and pager navigation for subsequentTab
).With fish 3.0, there were some changes to handling of tab completion. This causing the
expand:choose-next
function to not work the same as previously. It no-ops instead of scrolling through the choices (emulating defaultcomplete
behaviour).The text was updated successfully, but these errors were encountered: