aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-08 03:39:59 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-08 03:39:59 +1200
commit73a12add1f69f5ec31f917412d442bead96408af (patch)
tree506a89fc7432767e5ca09c1109128b1aa1d0fbc8
parentMerge branch 'release/v0.2.0' into develop (diff)
downloadvim-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.vim2
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>