mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 10:18:00 +00:00
Reset key bindings after $keyinfo check
This commit is contained in:
parent
bf27bc1e3b
commit
937f365279
@ -24,9 +24,6 @@ zstyle ':omz:completion' indicator '...'
|
|||||||
# Beep on error in line editor.
|
# Beep on error in line editor.
|
||||||
setopt BEEP
|
setopt BEEP
|
||||||
|
|
||||||
# Reset to default key bindings.
|
|
||||||
bindkey -d
|
|
||||||
|
|
||||||
# Allow command line editing in an external editor.
|
# Allow command line editing in an external editor.
|
||||||
autoload -Uz edit-command-line
|
autoload -Uz edit-command-line
|
||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
@ -115,6 +112,9 @@ function prepend-sudo {
|
|||||||
}
|
}
|
||||||
zle -N prepend-sudo
|
zle -N prepend-sudo
|
||||||
|
|
||||||
|
# Reset to default key bindings.
|
||||||
|
bindkey -d
|
||||||
|
|
||||||
# Emacs key bindings.
|
# Emacs key bindings.
|
||||||
for key in "$keyinfo[Escape]"{B,b}; \
|
for key in "$keyinfo[Escape]"{B,b}; \
|
||||||
bindkey -M emacs "$key" emacs-backward-word
|
bindkey -M emacs "$key" emacs-backward-word
|
||||||
|
Loading…
Reference in New Issue
Block a user