aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--doc/insert_cancel.txt6
-rw-r--r--plugin/insert_cancel.vim2
3 files changed, 5 insertions, 5 deletions
diff --git a/VERSION b/VERSION
index 227cea2..4a36342 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.0.0
+3.0.0
diff --git a/doc/insert_cancel.txt b/doc/insert_cancel.txt
index d6efbfa..b7888b3 100644
--- a/doc/insert_cancel.txt
+++ b/doc/insert_cancel.txt
@@ -23,12 +23,12 @@ still rather better than just the intuitive mapping:
<
MAPPINGS *insert_cancel-mappings*
- *<Plug>InsertCancel*
-The single mapping target provided is |<Plug>InsertCancel|, mappable in any
+ *<Plug>(InsertCancel)*
+The single mapping target provided is |<Plug>(InsertCancel)|, mappable in any
mode. There is no default key mapping to the target; you should define this
yourself in your |vimrc|. For example:
>
- imap <C-C> <Plug>InsertCancel
+ imap <C-C> <Plug>(InsertCancel)
AUTHOR *insert_cancel-author*
diff --git a/plugin/insert_cancel.vim b/plugin/insert_cancel.vim
index 51216d0..6bd92aa 100644
--- a/plugin/insert_cancel.vim
+++ b/plugin/insert_cancel.vim
@@ -68,5 +68,5 @@ if has('autocmd') && v:version >= 700
endif
" Mapping that exits insert mode normally and checks for a change to undo
-inoremap <silent> <Plug>InsertCancel
+inoremap <silent> <Plug>(InsertCancel)
\ <Esc>:<C-U>call <SID>Cancel()<CR>