Are backups disabled by default?

Asked by Jeffrey Knight

I accidentally deleted some files I was working on, and wasn't too worried because I knew I could grab the swap file and :recover.

Much to my surprise, I had none.
I searched my entire file system and, sure enough, no vim backup files.

It wasn't until I added these to my vimrc did backups become enabled:
set backup
set writebackup

Are backups disabled by default?

(using XFS)

Question information

English Edit question
Ubuntu vim Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Portwood (dzportwood) said :

I can confirm this on feisty and gutsy, so we should assume yes. If this is something you think should be changed you can file a bug, and mark it wishlist.
David P.

Can you help with this problem?

Provide an answer of your own, or ask Jeffrey Knight for more information if necessary.

To post a message you must log in.