From a3fe8ad383b8ef37d96221f4c88915391b2aff11 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 28 May 2019 22:56:58 +1200 Subject: Changed my mind again; do fire InsertLeave --- README.md | 2 +- doc/insert_cancel.txt | 2 +- plugin/insert_cancel.vim | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b0e07eb..b78ba00 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ insert\_cancel.vim This small plugin provides a mapping in insert mode to cancel the current insert operation by undoing the last change upon insert exit, if a change to -the buffer was made during insert mode, without firing `InsertLeave`. This is +the buffer was made during insert mode, while firing `InsertLeave`. This is intended for remapping Ctrl-C in insert mode to do something more useful. License diff --git a/doc/insert_cancel.txt b/doc/insert_cancel.txt index 5c628be..12a0111 100644 --- a/doc/insert_cancel.txt +++ b/doc/insert_cancel.txt @@ -4,7 +4,7 @@ DESCRIPTION *insert_cancel* This small plugin provides a mapping in insert mode to cancel the current insert operation by undoing the last change upon insert exit, if a change to -the buffer was made during insert mode, without firing InsertLeave. This is +the buffer was made during insert mode, while firing InsertLeave. This is intended for remapping |i_CTRL-C| to do something more useful. REQUIREMENTS *insert_cancel-requirements* diff --git a/plugin/insert_cancel.vim b/plugin/insert_cancel.vim index f0d8443..540031b 100644 --- a/plugin/insert_cancel.vim +++ b/plugin/insert_cancel.vim @@ -1,7 +1,7 @@ " " insert_cancel.vim: Insert mode mapping to cancel the current insert " operation by undoing the last change upon insert exit, if we made a change, -" without firing InsertLeave. This is intended for remapping Ctrl-C in insert +" while firing InsertLeave. This is intended for remapping Ctrl-C in insert " mode to do something more useful. " " Author: Tom Ryder @@ -21,4 +21,4 @@ augroup END " Undo any changes if they exceed the cached number on insert map key press inoremap (InsertCancel) - \ changenr() > b:insert_cancel_changenr ? "\u" : "\" + \ changenr() > b:insert_cancel_changenr ? "\u" : "\" -- cgit v1.2.3 From bfca13d25c433715a0ffc3d6e687ff91360e9367 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 28 May 2019 22:57:17 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 0062ac9..09b254e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.0 +6.0.0 -- cgit v1.2.3