aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-12 12:54:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-12 12:54:17 +1200
commitbdf4c1ad5878e4bc4c7066ded1f62f2f2c38ffc9 (patch)
tree9d9324ae75bc1ad09c87df242675fc0475ef9672
parentMerge branch 'release/v2.0.0' (diff)
parentBump VERSION (diff)
downloadvim-insert-cancel-bdf4c1ad5878e4bc4c7066ded1f62f2f2c38ffc9.tar.gz
vim-insert-cancel-bdf4c1ad5878e4bc4c7066ded1f62f2f2c38ffc9.zip
Merge branch 'release/v3.0.0'v3.0.0
* release/v3.0.0: Bump VERSION Parenthesise mapping
-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>