1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 19:48:00 +00:00

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

This commit is contained in:
Sorin Ionescu 2012-03-18 19:04:41 -04:00
parent 6c341cfe35
commit 09837b259a

View File

@ -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