diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 03:39:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 03:39:59 +1200 |
commit | 73a12add1f69f5ec31f917412d442bead96408af (patch) | |
tree | 506a89fc7432767e5ca09c1109128b1aa1d0fbc8 | |
parent | Merge branch 'release/v0.2.0' into develop (diff) | |
download | vim-insert-cancel-73a12add1f69f5ec31f917412d442bead96408af.tar.gz vim-insert-cancel-73a12add1f69f5ec31f917412d442bead96408af.zip |
Remap over Escape, not CTRL-C
This way, InsertLeave events get fired.
-rw-r--r-- | plugin/insert_cancel.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/insert_cancel.vim b/plugin/insert_cancel.vim index 33735ae..7566fee 100644 --- a/plugin/insert_cancel.vim +++ b/plugin/insert_cancel.vim @@ -40,4 +40,4 @@ endfunction " Provide plugin mapping inoremap <silent> <Plug>InsertCancel - \ <C-C>:<C-U>call <SID>InsertCancel()<CR> + \ <Esc>:<C-U>call <SID>InsertCancel()<CR> |