mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 00:17:59 +00:00
[Fix #29] Replace push-line with push-line-or-edit
This commit is contained in:
parent
6c341cfe35
commit
09837b259a
@ -300,5 +300,10 @@ fi
|
|||||||
[[ -n "$keyinfo[Control]" ]] && \
|
[[ -n "$keyinfo[Control]" ]] && \
|
||||||
bindkey "$keyinfo[Control]I" expand-or-complete-prefix-with-indicator
|
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
|
unset key
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user