set directory for swap files on Windows

This commit is contained in:
Josh Holtrop committed 2011-05-24 16:12:06 -04:00
1 parent 68745c1a4a
commit 8d2c214ea1
1 file changed
+4
+4
View File
@@ -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