mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
lib: bind to all keymaps when COMPLETION_WAITING_DOTS is set
Fixes #9050
This commit is contained in:
parent
e04564d528
commit
cf347ef3e4
1 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,10 @@ if [[ $COMPLETION_WAITING_DOTS = true ]]; then
|
||||||
zle redisplay
|
zle redisplay
|
||||||
}
|
}
|
||||||
zle -N expand-or-complete-with-dots
|
zle -N expand-or-complete-with-dots
|
||||||
bindkey "^I" expand-or-complete-with-dots
|
# Set the function as the default tab completion widget
|
||||||
|
bindkey -M emacs "^I" expand-or-complete-with-dots
|
||||||
|
bindkey -M viins "^I" expand-or-complete-with-dots
|
||||||
|
bindkey -M vicmd "^I" expand-or-complete-with-dots
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# automatically load bash completion functions
|
# automatically load bash completion functions
|
||||||
|
|
Loading…
Reference in a new issue