Move vim's undo files
Alec Jacobson
November 15, 2012
weblog/
vim creates little files to keep a persistent undo. The names are like:
.filename.txt.un~
The dot prefix and the tilde suffix make these files a pain to deal with in bash. Here's how to move these files to another directory:
mv .*un\~ other_directory