From cf347ef3e43eabde5ae86e17d25690ebbeef5e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Tue, 4 Aug 2020 17:30:07 +0200 Subject: [PATCH] lib: bind to all keymaps when COMPLETION_WAITING_DOTS is set Fixes #9050 --- lib/completion.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/completion.zsh b/lib/completion.zsh index 47a4ed60f..2b62785d5 100644 --- a/lib/completion.zsh +++ b/lib/completion.zsh @@ -65,7 +65,10 @@ if [[ $COMPLETION_WAITING_DOTS = true ]]; then zle redisplay } 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 # automatically load bash completion functions