Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
d2754402
Commit
d2754402
authored
May 13, 2011
by
Robby Russell
Browse files
Merge pull request #290 from arthurkalm/delete-key-working
Make the delete key work correctly, instead of outputting a ~
parents
396dc787
7d9628b2
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/key-bindings.zsh
View file @
d2754402
...
@@ -20,6 +20,11 @@ bindkey ' ' magic-space # also do history expansion on space
...
@@ -20,6 +20,11 @@ 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
bindkey
"
\e
[3~"
delete-char
# consider emacs keybindings:
# consider emacs keybindings:
#bindkey -e ## emacs key bindings
#bindkey -e ## emacs key bindings
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment