Vim Tip – Relocating vim swapfiles
October 11th, 2010
5 comments
Vim is my editor of choice for any file that doesn’t need a full IDE, and I generally have multiple files open in various windows at any point in time. In its default configuration, for each file you have open, vim creates a hidden swap file in the same directory with the extension “.swp”. Unfortunately, if any of those files reside inside my Dropbox folder, the Dropbox program notices the swap files and syncs them up to the cloud. Read on to see how to change that behavior without losing the advantages that swap files give.
Read more…