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
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu vim Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
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.