1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-16 02:41:13 +00:00

Remove already defined key bindings

This commit is contained in:
Sorin Ionescu 2012-03-18 10:17:57 -04:00
parent ef452a8b56
commit 64d0e35ca4

View File

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