I was using gedit for a while and now I am using vim . There was a nice option of autosave in gedit . I want to know if there is an option of autosaving in vim. I want to save my codes which I am writing after every 1 minute because of the disruption of electricity.
Asked
Active
Viewed 1,220 times
3
-
Same for current file only: http://stackoverflow.com/questions/6991638/how-to-auto-save-a-file-every-1-second-in-vim – Ciro Santilli OurBigBook.com Feb 08 '15 at 10:25
1 Answers
1
You can use the vim-auto-save script to save files every time their buffers are modified.

Lars Kotthoff
- 107,425
- 16
- 204
- 204