Browse Source

[Fix #29] Replace push-line with push-line-or-edit

master
Sorin Ionescu 12 years ago
parent
commit
09837b259a
  1. 5
      keyboard.zsh

5
keyboard.zsh

@ -300,5 +300,10 @@ fi @@ -300,5 +300,10 @@ fi
[[ -n "$keyinfo[Control]" ]] && \
bindkey "$keyinfo[Control]I" expand-or-complete-prefix-with-indicator
# Use a more flexible push-line.
[[ -n "$keyinfo[Control]" && -n "$keyinfo[Escape]" ]] && \
for key in "$keyinfo[Control]Q" "$keyinfo[Escape]"{q,Q}; \
bindkey "$key" push-line-or-edit
unset key

Loading…
Cancel
Save