added mac keybinding for backward-delete-char

This commit is contained in:
Sven Lito 2010-10-12 20:02:04 +01:00 committed by Robby Russell
parent 34f00f385c
commit eb63ddf6bb

View File

@ -21,6 +21,7 @@ bindkey ' ' magic-space # also do history expansion on space
bindkey '^[[Z' reverse-menu-complete
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
bindkey '^?' backward-delete-char
bindkey "^[[3~" delete-char
bindkey "^[3;5~" delete-char
bindkey "\e[3~" delete-char