set directory for swap files on Windows

This commit is contained in:
Josh Holtrop 2011-05-24 16:12:06 -04:00
parent 68745c1a4a
commit 8d2c214ea1

4
vimrc
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