aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: b78ba006502465c3f168e9ba4ff9b7fee3595d5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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, while firing `InsertLeave`.  This is
intended for remapping Ctrl-C in insert mode to do something more useful.

License
-------

Copyright (c) [Tom Ryder][1].  Distributed under the same terms as Vim itself.
See `:help license`.

[1]: https://sanctum.geek.nz/