Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Behave nicely with iminsert and imsearch. Thanks to nailxx@github.com.

  • Loading branch information...
commit 1b37d608407afb75ad719ee6e739387372c03529 1 parent a70aa52
@Raimondi authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 autoload/delimitMate.vim
View
4 autoload/delimitMate.vim
@@ -115,6 +115,8 @@ function! delimitMate#Map() "{{{
try
let save_cpo = &cpo
let save_keymap = &keymap
+ let save_iminsert = &iminsert
+ let save_imsearch = &imsearch
set keymap=
set cpo&vim
if b:_l_delimitMate_autoclose
@@ -127,6 +129,8 @@ function! delimitMate#Map() "{{{
finally
let &cpo = save_cpo
let &keymap = save_keymap
+ let &iminsert = save_iminsert
+ let &imsearch = save_imsearch
endtry
let b:delimitMate_enabled = 1
Please sign in to comment.
Something went wrong with that request. Please try again.