10 years ago
Store all .swp and ~ files in a central directory in your homedir to avoid littering your filesystem with leftover files. (Improvements by Reddit user magus424)
set directory=$HOME/.vim/swap// if !isdirectory(&directory) call mkdir(&directory) endif set backupdir=$HOME/.vim/backup// if !isdirectory(&backupdir) call mkdir(&backupdir) endif set backupcopy=yes set backup
Martínez Ortiz Saúl Axel 6 years ago
I like but I would still just use git