Browse Source

added mac keybinding for backward-delete-char

Sven Lito 13 years ago
parent
commit
eb63ddf6bb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/key-bindings.zsh

+ 1 - 0
lib/key-bindings.zsh

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