I've been using Vim and Subversion for ages now, but never quite setup my system properly. There are a couple of issues that arise when using Vim and TortoiseSVN.
By default, Vim creates swap files and backup files each time that you open a file. The swap file, with the ending .swp, goes away after you close the file, but the backup file, with the ending ~, persists. This can cause confusion when committing files, the swap files will show up in the status dialog, and can create even bigger headaches when switching between branches, when TortoiseSVN will not be able to remove the swap files from newly created directories.
To solve this problem, I eliminated the backup files from Vim - I have never needed to use them in the past - and exclude the swap files from the TortoiseSVN dialog.
To eliminate the backup files, add the following to your _vimrc file:
set nobackup
set nowritebackup To prevent the swap files from showing up in the TortoiseSVN dialog box, right click on any file/directory in windows explorer to get the TortoiseSVN->Settings dialog. Next to 'Subversion configuration file', click the 'Edit' button. The configuration file will open up in Notepad. Uncomment the 'global-ignores' line and add *.swp to the end of that line (make sure there is a space before it). Save the file. Click okay in the settings dialog box.
You should be all set to go! Happy Vimming and SVNing!