I\'d like vim to automatically write my file as often as possible. The ideal would be every keystroke.
I need to save regularly so that my background build process wi
These hacks are not needed any more. Vim can automatically write a file to disk whenever it is changed. Just add this to your $MYVIMRC:
autocmd TextChanged,TextChangedI write
I believe you need Vim 7.4. In contrast to autosave=1, this will save your file as soon as you change it.
autosave=1