3 ms·
set backupdir=~/.vim/backup// set directory=~/.vim/swp// The double tailing slash will store files using full paths so if you edit two different models.py
by parfe 16y ago
set backupdir=~/.vim/backup//
set directory=~/.vim/swp//
The double tailing slash will store files using full paths so if you edit two different models.py files you won't clobber your swap or backups.
- davidu 16y agoOh man, this is awesome. Too bad it's vim-specific and not a shell built-in, which would be handy.