*insert_cancel.txt* For Vim version 7.0 Last change: 2019 May 28 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 intended for remapping |i_CTRL-C| to do something more useful. REQUIREMENTS *insert_cancel-requirements* This plugin only loads if 'compatible' is not set. MAPPINGS *insert_cancel-mappings* *(InsertCancel)* The single insert mode mapping target is |(InsertCancel)|. There is no default key mapping; you should define one yourself in your |vimrc|. For example: > imap (InsertCancel) < LIMITATIONS *insert_cancel-limitations* It doesn't work in paste mode, much the same as any other mapping. AUTHOR *insert_cancel-author* Written and maintained by Tom Ryder . LICENSE *insert_cancel-license* Licensed for distribution under the same terms as Vim itself (see |license|). vim:tw=78:ts=8:ft=help:norl: