From 2e2796ab12f49ad8e3fccf0d4063c394e5048955 Mon Sep 17 00:00:00 2001 From: Conrado Buhrer Date: Sun, 2 Nov 2014 15:06:19 -0200 Subject: [PATCH] fixed: sudo-command-line bindkey interfering with vim-mode --- plugins/sudo/sudo.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sudo/sudo.plugin.zsh b/plugins/sudo/sudo.plugin.zsh index e3ba39918..0a01d4be2 100644 --- a/plugins/sudo/sudo.plugin.zsh +++ b/plugins/sudo/sudo.plugin.zsh @@ -17,5 +17,5 @@ sudo-command-line() { [[ $BUFFER != sudo\ * ]] && LBUFFER="sudo $LBUFFER" } zle -N sudo-command-line -# Defined shortcut keys: [Esc] [Esc] -bindkey "\e\e" sudo-command-line +# Defined shortcut keys: Ctrl+_ +bindkey "^_" sudo-command-line