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.

Ciro Santilli OurBigBook.com
  • 347,512
  • 102
  • 1,199
  • 985
aroup
  • 315
  • 3
  • 13

1 Answers1

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