My version is the following:

Version nvi-1.81.6nb5 (2009-08-11) The CSRG, University of California, Berkeley.

Is it possible to save a file at regular intervals in vi/nvi?

I know there is an "autowrite" option, but that's only when writing to multiple files and switching back an forth.

Any help will be appreciated.


Use the autosave plugin. Be aware that it sometimes gets you out of visual mode and problematic in general. https://vimawesome.com/plugin/vim-auto-save

  • 3
    Nvi is not vim. There are no plugins for nvi. – Ottavio Caruso Jan 6 '20 at 11:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.