aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: b0e07eba68787cece107461dfa668e32887c6ee3 (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, without 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/