From 3183cbd98c6f980a1d0d15227b12cf1caeb54e33 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 11 Aug 2015 13:28:14 +0200 Subject: 36044: deactivate-region widget for escape in visual mode --- Src/Zle/zle_keymap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/Zle/zle_keymap.c') diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c index d355f41a4..c16e32e1b 100644 --- a/Src/Zle/zle_keymap.c +++ b/Src/Zle/zle_keymap.c @@ -1363,6 +1363,7 @@ default_bindings(void) } /* escape in operator pending cancels the operation */ bindkey(oppmap, "\33", refthingy(t_vicmdmode), NULL); + bindkey(vismap, "\33", refthingy(t_deactivateregion), NULL); bindkey(vismap, "o", refthingy(t_exchangepointandmark), NULL); bindkey(vismap, "p", refthingy(t_putreplaceselection), NULL); bindkey(vismap, "x", refthingy(t_videlete), NULL); -- cgit 1.4.1