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