From 0055042e53d4cc71d7be47e4ba610944cbd4fff8 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 27 Sep 2012 19:26:53 +0200 Subject: [PATCH] Close popup menu on Esc: do not feed ^E for Esc complete_CTRL-E is different from Escape in the popup menu; Escape is meant to close it, while CTRL-E will leave you in insert mode. --- plugin/AutoClose.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/AutoClose.vim b/plugin/AutoClose.vim index d91ba8b..253a522 100644 --- a/plugin/AutoClose.vim +++ b/plugin/AutoClose.vim @@ -370,7 +370,7 @@ function! s:DefineVariables() \ 'AutoCloseSmartQuote': 1, \ 'AutoCloseOn': 1, \ 'AutoCloseSelectionWrapPrefix': 'a', - \ 'AutoClosePumvisible': {"ENTER": "\", "ESC": "\"}, + \ 'AutoClosePumvisible': {"ENTER": "\", "ESC": "\"}, \ 'AutoCloseExpandEnterOn': "", \ 'AutoCloseExpandSpace': 1, \ }