From aff97432695ca179188db282e63903d6539b7718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Schu=CC=88rrer?= Date: Sun, 18 Dec 2011 12:22:16 +0100 Subject: [PATCH] Also work with and --- plugin/delimitMate.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/delimitMate.vim b/plugin/delimitMate.vim index 096d516..12a78b3 100644 --- a/plugin/delimitMate.vim +++ b/plugin/delimitMate.vim @@ -168,6 +168,7 @@ function! s:Unmap() " {{{ \ b:_l_delimitMate_apostrophes_list + \ ['', '', '', '', '', '', ''] + \ ['', '', '', '', '', ''] + + \ ['', ''] + \ ['', '', '', '', '', '', 'g'] for map in imaps @@ -352,7 +353,7 @@ function! s:ExtraMappings() "{{{ silent! imap delimitMateDel endif " Flush the char buffer on movement keystrokes or when leaving insert mode: - for map in ['Esc', 'Left', 'Right', 'Home', 'End'] + for map in ['Esc', 'Left', 'Right', 'Home', 'End', 'C-Left', 'C-Right'] exec 'inoremap delimitMate'.map.' =Finish()<'.map.'>' if !hasmapto('delimitMate'.map, 'i') exec 'silent! imap <'.map.'> delimitMate'.map