From 8d2c214ea1773cf898adef5940016656a95035b0 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 24 May 2011 16:12:06 -0400 Subject: [PATCH] set directory for swap files on Windows --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index c39637c..3d38a73 100644 --- a/vimrc +++ b/vimrc @@ -70,6 +70,10 @@ else set scrolloff=4 endif +if has("win32") || has("win64") + set directory=$TMP +end + " mappings map ,# :set paste O75A#yypO#73A A#0ll:set nopaste R map ,p :set paste o#73A A#0ll:set nopaste R