From 937f3652791a4fcf61ee9403f960cb072ca32fc6 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 27 Mar 2012 08:40:00 -0400 Subject: [PATCH] Reset key bindings after $keyinfo check --- keyboard.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboard.zsh b/keyboard.zsh index 26e70cf9..c8c0e6df 100644 --- a/keyboard.zsh +++ b/keyboard.zsh @@ -24,9 +24,6 @@ zstyle ':omz:completion' indicator '...' # Beep on error in line editor. setopt BEEP -# Reset to default key bindings. -bindkey -d - # Allow command line editing in an external editor. autoload -Uz edit-command-line zle -N edit-command-line @@ -115,6 +112,9 @@ function prepend-sudo { } zle -N prepend-sudo +# Reset to default key bindings. +bindkey -d + # Emacs key bindings. for key in "$keyinfo[Escape]"{B,b}; \ bindkey -M emacs "$key" emacs-backward-word