3 ms·
Until it saves your ass. Which will happen, if you use vim for a few years. You can configure it to put your swap files in a canonical dir, instead of pollutin
by gfodor 16y ago
Until it saves your ass. Which will happen, if you use vim for a few years.
You can configure it to put your swap files in a canonical dir, instead of polluting the directory you're editing files in:
set backupdir=/var/tmp,/tmp
set directory=/var/tmp,/tmp
Now you can just nuke the swap files in one swoop:
rm -rf /var/tmp/*.swp
- jamesbritt 16y agoOr cron-job the pruning.