Browse Source

Remove already defined key bindings

master
Sorin Ionescu 13 years ago
parent
commit
64d0e35ca4
  1. 8
      keyboard.zsh

8
keyboard.zsh

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