Merge pull request #2 from purem/patch-1

Tab complete in vi-mode bug
This commit is contained in:
Ashley Dev 2011-10-27 00:00:43 -07:00
commit 47fc51e08a

View file

@ -43,7 +43,7 @@ zle -N accept_line
zle -N edit-command-line
# Avoid binding ^J, ^M, ^C, ^?, ^S, ^Q, etc.
bindkey -d # Reset to default.
# bindkey -d # Reset to default. Breaks tab completion. Start tab completing and press tab to move across options and it will kill your terminal.
bindkey -v # Use vi key bindings.
bindkey -M vicmd "^M" accept_line # Alow RETURN in vi command.
bindkey -M vicmd v edit-command-line # ESC-v to edit in an external editor.