From d6ac57747dbf1f075ae2e93bd5c4a0a8a9d79770 Mon Sep 17 00:00:00 2001 From: Ashley Dev Date: Sat, 14 May 2011 16:22:41 -0700 Subject: [PATCH] Add 'jj' = ESC to viins mode. --- plugins/vi-mode/vi-mode.plugin.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh index ca06ee71..aa39081f 100644 --- a/plugins/vi-mode/vi-mode.plugin.zsh +++ b/plugins/vi-mode/vi-mode.plugin.zsh @@ -95,3 +95,6 @@ bindkey -M viins '^d' delete bindkey -M vicmd '^?' backward-delete-char bindkey -M viins '^?' backward-delete-char + +# 'jj' = ESC +bindkey -M viins 'jj' vi-cmd-mode