Tech Journal Back to Tech Journal

How can I change the location of .swp created by Vim?

To set the dir where the .swp files are created, put something like the following line in your vimrc:

set dir=c:\\temp
Last updated on 2007-05-06 06:39:10 -0700, by Shalom Craimer

Back to Tech Journal