6 ms·
set backupdir=~/.vim/backup// set directory=~/.vim/swp// If you end your settings with double trailing // then vim will automatically use the full path to the
by Tritis 18y ago
set backupdir=~/.vim/backup//
set directory=~/.vim/swp//
If you end your settings with double trailing // then vim will automatically use the full path to the file
so editing
/etc/X11/x.org and ~/x.org won't
clobber each other in your swap directory.