3

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.

aroup
  • 305
  • 3
  • 12

1 Answers1

1

You can use the vim-auto-save script to save files every time their buffers are modified.

Lars Kotthoff
  • 104,352
  • 13
  • 194
  • 196