De aqui :
Backup Files
Vim by default creates a backup of an edited file in the same directory as the file called filename~. To prevent clutter, many users tell vim to use a backup directory:
set backupdir=~/.vim/backup,/tmp
Or, it's possible to even disable this behaviour:
set nobackup set nowritebackup set noswapfile ! (additionally disable swap files)