zsh: set bindings without zvm
This commit is contained in:
parent
48d511befb
commit
ecead9eac4
@ -1,5 +1,3 @@
|
||||
# as per https://github.com/jeffreytse/zsh-vi-mode#execute-extra-commands
|
||||
function zvm_after_lazy_keybindings() {
|
||||
# map Del escape sequence to actual Del key in all (n,i) modes to resemble vim instead of vi
|
||||
bindkey -a '^[[3~' delete-char
|
||||
# map arrow up/down to control fish-like history substring search and highlighting
|
||||
@ -18,4 +16,3 @@ function zvm_after_lazy_keybindings() {
|
||||
bindkey -M vicmd 'K' history-substring-search-up
|
||||
bindkey -M vicmd 'J' history-substring-search-down
|
||||
bindkey '^\' accept-and-hold
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user