From d0d409c7479f1908422eedfd5e486e129b15a39b Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 19 May 2008 19:19:06 +0100 Subject: [PATCH 1/1] use tmpdir var for setting dir --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 59409c3..a38f61b 100644 --- a/.vimrc +++ b/.vimrc @@ -1089,7 +1089,7 @@ set ar " directory " list of directories for the swap file " set dir=.,/home/madduck/tmp,/var/tmp,/tmp -set dir=.,~/tmp//,/var/tmp//,/tmp// +set dir=.,$TMPDIR//,/var/tmp//,/tmp// " swapfile " use a swap file for this buffer -- 2.39.5