mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 09:58:47 -07:00
Make the delete key work correctly, instead of outputting a ~
This commit is contained in:
parent
971b071dc6
commit
c7c959de60
@ -22,6 +22,10 @@ bindkey ' ' magic-space # also do history expansion on space
|
|||||||
|
|
||||||
bindkey '^[[Z' reverse-menu-complete
|
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:
|
# consider emacs keybindings:
|
||||||
|
|
||||||
#bindkey -e ## emacs key bindings
|
#bindkey -e ## emacs key bindings
|
||||||
|
Loading…
Reference in New Issue
Block a user