1
0
Fork 0

Remove already defined key bindings

pull/58/head
Sorin Ionescu 13 years ago
parent ef452a8b56
commit 64d0e35ca4

@ -81,13 +81,7 @@ if [[ "$keymap" == (emacs|) ]]; then
[[ -n "$keyinfo[Control]" ]] && \ [[ -n "$keyinfo[Control]" ]] && \
bindkey -M emacs "$keyinfo[Control]U" backward-kill-line bindkey -M emacs "$keyinfo[Control]U" backward-kill-line
# Kill to the beginning of the word. # Redo
[[ -n "$keyinfo[Control]" ]] && \
bindkey -M emacs "$keyinfo[Control]W" backward-kill-word
# Undo/Redo
[[ -n "$keyinfo[Control]" ]] && \
bindkey -M emacs "$keyinfo[Control]_" undo
[[ -n "$keyinfo[Escape]" ]] && \ [[ -n "$keyinfo[Escape]" ]] && \
bindkey -M emacs "$keyinfo[Escape]_" redo bindkey -M emacs "$keyinfo[Escape]_" redo

Loading…
Cancel
Save