Browse code

Make the delete key work correctly, instead of outputting a ~

Arthur Kalmenson authored on 19/04/2011 at 23:01:18
Showing 1 changed files
... ...
@@ -22,6 +22,10 @@ bindkey ' ' magic-space    # also do history expansion on space
22 22
 
23 23
 bindkey '^[[Z' reverse-menu-complete
24 24
 
25
+# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
26
+bindkey "^[[3~" delete-char
27
+bindkey "^[3;5~" delete-char
28
+
25 29
 # consider emacs keybindings:
26 30
 
27 31
 #bindkey -e  ## emacs key bindings