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
39c00732
Commit
39c00732
authored
Aug 05, 2020
by
Marc Cornellà
Browse files
lib: remove CTRL-Backspace binding for vi keymaps
parent
fa5db344
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/key-bindings.zsh
View file @
39c00732
...
...
@@ -77,8 +77,8 @@ bindkey -M vicmd '^?' backward-delete-char
# [Delete] - delete forward
if
[[
-n
"
${
terminfo
[kdch1]
}
"
]]
;
then
bindkey
-M
emacs
"
${
terminfo
[kdch1]
}
"
delete-char
bindkey
-M
viins
"
${
terminfo
[kdch1]
}
"
delete-char
# [Delete] - delete forward
bindkey
-M
vicmd
"
${
terminfo
[kdch1]
}
"
delete-char
# [Delete] - delete forward
bindkey
-M
viins
"
${
terminfo
[kdch1]
}
"
delete-char
bindkey
-M
vicmd
"
${
terminfo
[kdch1]
}
"
delete-char
else
bindkey
-M
emacs
"^[[3~"
delete-char
bindkey
-M
viins
"^[[3~"
delete-char
...
...
@@ -91,8 +91,6 @@ fi
# [Ctrl-Backspace] - delete whole backward-word
bindkey
-M
emacs
'^H'
backward-kill-word
bindkey
-M
viins
'^H'
backward-kill-word
bindkey
-M
vicmd
'^H'
backward-kill-word
# [Ctrl-Delete] - delete whole forward-word
bindkey
-M
emacs
'^[[3;5~'
kill-word
bindkey
-M
viins
'^[[3;5~'
kill-word
...
...
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