I’d like for vim to save the current buffer to a file each time the buffer is changed. I don’t want it to leave Insert mode if I’m typing away. Just do it quietly in the background and don’t bother me. It’s like a zealous auto save.
Sending the new contents to an external process would work, too.
Start a timer, auto save after you leave for 30 seconds.
note: this event is only triggered in Normal mode.