aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 4efa5dd7c6f51f205b382376af80b0026d1a6ab7 (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/