blob: 0bfb346a8899da5c9dbe39ece49e7111a5ffd00f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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.
License
-------
Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
See `:help license`.
[1]: https://sanctum.geek.nz/
|