diff options
author | Arthur Kalmenson <arthur.kalm@gmail.com> | 2011-04-19 19:01:18 -0400 |
---|---|---|
committer | Arthur Kalmenson <arthur.kalm@gmail.com> | 2011-04-19 19:01:18 -0400 |
commit | c7c959de60add8371e08926d642b2bbb7406ce84 (patch) | |
tree | 0b90d525804f2689dd07d657735b869b76faa406 | |
parent | 971b071dc67f423d8b2a6f476e1dd58819049f41 (diff) | |
download | zsh-c7c959de60add8371e08926d642b2bbb7406ce84.tar.gz zsh-c7c959de60add8371e08926d642b2bbb7406ce84.tar.bz2 zsh-c7c959de60add8371e08926d642b2bbb7406ce84.zip |
Make the delete key work correctly, instead of outputting a ~
-rw-r--r-- | lib/key-bindings.zsh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh index 7196a88ff..e12d8010e 100644 --- a/lib/key-bindings.zsh +++ b/lib/key-bindings.zsh @@ -22,6 +22,10 @@ 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 "^[[3~" delete-char +bindkey "^[3;5~" delete-char + # consider emacs keybindings: #bindkey -e ## emacs key bindings |