On 3/21/07, Eric Smith <[EMAIL PROTECTED]> wrote:
I know that you can set the interval to auto-save to the swap file
but how do I automatically save to the named file itself every n seconds?

Yes, you can use 'CursorHold' autocommand for that.

The following (untested) is probaly an easy  starting point:
 au CursorHold * :up!
 au CursorHoldI * up!

Normally, file does not become modified
without keyboard interaction, right ? So you do not really need
the periodic saving when there was no keys pressed.I think
CursorHold/CursorHoldI will serve nicely here, without
need for periodic repeating.

Yakov

Reply via email to