Wednesday, May 28, 2008

Deleteing all of Vim's swap files

Every once in a while one of my ssh sessions will timeout and when I log back in and use vim, it complains about all my leftover swap files.

Problem solved:

find ./ -name \*.swp | xargs rm

This recursively removes all swp files!

No comments: