From 786eff7a65a5947d980f4994d8534d3af5132d5f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 12 Jul 2018 12:52:37 +1200 Subject: Parenthesise mapping --- doc/insert_cancel.txt | 6 +++--- plugin/insert_cancel.vim | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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* - *InsertCancel* -The single mapping target provided is |InsertCancel|, mappable in any + *(InsertCancel)* +The single mapping target provided is |(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 InsertCancel + imap (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 InsertCancel +inoremap (InsertCancel) \ :call Cancel() -- cgit v1.2.3 From e1675ec3f30845b997be484b29a58164ffc06a97 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 12 Jul 2018 12:54:11 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 227cea2..4a36342 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.0 +3.0.0 -- cgit v1.2.3