Remove extra delete-word bindings
authorChristian Hofstaedtler <ch@grml.org>
Thu, 8 Dec 2011 00:10:19 +0000 (01:10 +0100)
committerChristian Hofstaedtler <ch@grml.org>
Thu, 8 Dec 2011 00:10:19 +0000 (01:10 +0100)
Trying to get Alt-Del right is just too much trouble.

etc/zsh/zshrc

index 3fa6c5b..58ff6a6 100644 (file)
@@ -638,12 +638,6 @@ bindkey '\e[8~' end-of-somewhere        # end
 bindkey '\e[A'  up-line-or-search       # cursor up
 bindkey '\e[B'  down-line-or-search     # <ESC>-
 
-## alt-backspace is already the default for backwards-delete-word
-## let's also set alt-delete for deleting current word (right of cursor)
-#k# Kill right-side word
-bindkey '^[[3~'   delete-word # Modeswitch
-bindkey '^[[3;3~' delete-word # Alt_L
-
 ## use Ctrl-left-arrow and Ctrl-right-arrow for jumping to word-beginnings on the CL
 bindkey "\e[5C" forward-word
 bindkey "\e[5D" backward-word