diff options
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 ------- |