From: martin f. krafft Date: Mon, 19 May 2008 18:19:06 +0000 (+0100) Subject: use tmpdir var for setting dir X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/d0d409c7479f1908422eedfd5e486e129b15a39b?ds=inline;hp=e5786051c8a859ecadb86d63c4424fac58472b07 use tmpdir var for setting dir --- 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