diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-28 22:43:39 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-28 22:43:39 +1200 |
commit | 75a51d354b2fbd9f0818e330a37b1644a1cd0d46 (patch) | |
tree | 9555957100f767d599b7af66d77471748298b0bb /README.md | |
parent | Merge branch 'release/v4.0.0' into develop (diff) | |
download | vim-insert-cancel-75a51d354b2fbd9f0818e330a37b1644a1cd0d46.tar.gz vim-insert-cancel-75a51d354b2fbd9f0818e330a37b1644a1cd0d46.zip |
Completely overhaul, losing autoload
Vim 7.0 and expression mappings sure make this easier.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,10 +1,10 @@ insert\_cancel.vim ================== -This plugin provides a mapping target to cancel an insert operation. It leaves -insert mode normally, firing `InsertLeave`, and then runs `:undo` if the buffer -was changed by the insert. This is intended as a remap of Ctrl-C in insert -mode. +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 +intended for remapping Ctrl-C in insert mode to do something more useful. License ------- |