mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 06:48:00 +00:00
Fix Emacs backward-kill-line binding
This commit is contained in:
parent
64d0e35ca4
commit
f5a976637e
@ -78,8 +78,9 @@ if [[ "$keymap" == (emacs|) ]]; then
|
|||||||
bindkey -M emacs "$keyinfo[Escape]$keyinfo[Right]" emacs-forward-word
|
bindkey -M emacs "$keyinfo[Escape]$keyinfo[Right]" emacs-forward-word
|
||||||
|
|
||||||
# Kill to the beginning of the line.
|
# Kill to the beginning of the line.
|
||||||
[[ -n "$keyinfo[Control]" ]] && \
|
[[ -n "$keyinfo[Escape]" ]] && \
|
||||||
bindkey -M emacs "$keyinfo[Control]U" backward-kill-line
|
for key in "$keyinfo[Escape]"{K,k}; \
|
||||||
|
bindkey -M emacs "$key" backward-kill-line
|
||||||
|
|
||||||
# Redo
|
# Redo
|
||||||
[[ -n "$keyinfo[Escape]" ]] && \
|
[[ -n "$keyinfo[Escape]" ]] && \
|
||||||
|
Loading…
Reference in New Issue
Block a user