[Fix #29] Replace push-line with push-line-or-edit
This commit is contained in:
parent
6c341cfe35
commit
09837b259a
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue