How does one disable swap files for VIM via
set nobackup set nowritebackup set noswapfile
Throw this into your
I would not disable swap files completely because they are used for recovery if vim crashes.
Instead, put them into a temp folder so that they are not scattered all over:
if has("win32") set directory=c:\\tmp,c:\\temp elseif has("unix") set directory=/tmp endif
start vim with the "-n" argument:
vim -n <file>