> Sudhakar Chandra wrote:
>> vim
>> :help autowrite
>>
>> 'autowrite' 'aw'        boolean (default off)
>>                         global
> ~ snip ~
> Thanks, but how to configure it to autosave a current document in every
> 5  minutes ?

True it does not do autosave every X bogoseconds.  I don't think such a
feature exists in vim.  However, there are ways of mimicking an autosave.

Enable backups in vim by editing your .vimrc (:help backup for more info).
Now, when you are editing a file, a backup of the last opened version is
automatically made.  Also, while you are in the process of editing the file,
a .swp file exists storing the edits you made.  If your computer were to
crash for some reason, you have the original file and the .swp file which
contains the unsaved edits you made.

Thaths




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to