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