I want to trap all events that modify the vim buffer, so I can record them and send them to a server. I want to trap character-by-character events while in insert mode, and also be notified when p
or dd
etc. commands are executed---any time the document changes.
In Vim 8 this is much easier. Just listen to these to autocmd events:
TextChanged
TextChangedI
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With