sponsor Vim development Vim logo Vim Book Ad

vim-auto-save : Automatically save changes to disk

 script karma  Rating 358/148, Downloaded by 8098  Comments, bugs, improvements  Vim wiki

created by
Alexey Chernenkov
script type
AutoSave - automatically save changes to disk without having to use :w (or any binding to it) every time a buffer has been modified.
AutoSave is disabled by default, run :AutoSaveToggle to enable/disable AutoSave.
If you want plugin to be always enabled it can be done with g:auto_save option (place 'let g:auto_save = 1' in your .vimrc).
Inspired by the same feature in RubyMine text editor.
install details
Use vundle (https://github.com/gmarik/vundle) to install the plugin.
Plugin repository on github: https://github.com/907th/vim-auto-save

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-auto-save-0.1.12.tar.gz 0.1.12 2019-03-19 7.0 Alexey Chernenkov Fixed support for b:auto_save option. Documentation updated.
vim-auto-save-0.1.11.tar.gz 0.1.11 2019-02-26 7.0 Alexey Chernenkov Add `b:auto_save` magic var support
vim-auto-save-0.1.10.tar.gz 0.1.10 2017-11-13 7.4 Alexey Chernenkov Check if the buffer was actually modified before auto-saving. Previously auto-saving happened on every configured event (even when the buffer was not modified).
vim-auto-save-0.1.9.tar.gz 0.1.9 2017-01-14 7.4 Alexey Chernenkov Add pre-save hook, update docs.
See https://github.com/907th/vim-auto-save for more info
vim-auto-save-0.1.8.tar.gz 0.1.8 2016-09-12 7.4 Alexey Chernenkov See https://github.com/907th/vim-auto-save
vim-auto-save.tar.gz 0.1.7 2015-03-02 7.4 Alexey Chernenkov Fixed interaction with Syntastic
vim-auto-save.tar.gz 0.1.6 2014-10-01 7.0 Alexey Chernenkov Enable/disable auto-save in insert mode via g:auto_save_in_insert_mode option (by Aaron Jensen)
vim-auto-save.tar.gz 0.1.5 2014-09-16 7.0 Alexey Chernenkov Enable silent AutoSave (by Ryan Sepassi)
vim-auto-save.tar.gz 0.1.4 2014-04-03 7.0 Alexey Chernenkov Autosave on CursorHoldI too. Thanks to Premysl Kafka.
vim-auto-save.tar.gz 0.1.3 2013-05-06 7.0 Alexey Chernenkov Now you can prevent AutoSave from changing the `updatetime` with `g:auto_save_no_updatetime` option.
vim-auto-save.tar.gz 0.1.2 2013-04-24 7.0 Alexey Chernenkov Prevent plugin from loading twice and do not reset auto-save option if it's already set.
vim-auto-save.tar.gz 0.1.1 2013-04-13 7.0 Alexey Chernenkov Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.