From e3d86cc9887a9a6dc2d85efb2208a7d5f957c1da Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Wed, 20 Jul 2011 19:17:33 +0200 Subject: [PATCH] zshrc: also support "+" and as keybindings for accept-and-menu-complete. --- etc/zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 42b5671..0977409 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -893,6 +893,9 @@ fi if is4 && [[ -n ${(k)modules[zsh/complist]} ]] ; then #k# menu selection: pick item but stay in the menu bindkey -M menuselect '\e^M' accept-and-menu-complete + # also use + and INSERT since it's easier to press repeatedly + bindkey -M menuselect "+" accept-and-menu-complete + bindkey -M menuselect "^[[2~" accept-and-menu-complete # accept a completion and try to complete again by using menu # completion; very useful with completing directories -- 2.1.4