You are not logged in.
I'm running vim-8.1.0374-1 and everything else is up to date also.
In my ~/.vimrc I have set backup. Within vim,
:echo &backup
1
But no backup file is ever saved. Is anyone else seeing this?
Last edited by kekules_dream (2018-09-15 22:07:34)
Offline
Post your .vimrc file and a "ls -ld" for the folder you have configured as "backupdir".
Offline
Thanks twelveeighty, using your clues I fixed it. Previously and for many years, vim would save a backup in the directory of the original file if you did not set backupdir. Now, apparently you have to set backupdir. I made one, set it, and now the backups are being saved in there. Thanks again.
Last edited by kekules_dream (2018-09-15 22:08:24)
Offline
Since CVE-2017-1000382, our vim package now sets the directories for things like swap and backup files, *iff* you don't have something set already.
That is to say, /usr/share/vim/vimfiles/archlinux.vim sets them to be stored in your $XDG_CACHE_HOME by default.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Thank you, too, Eschwartz! Great to know. Indeed many backups were present at $XDG_CACHE_HOME/vim/backup/
Offline