If I edit a directory (say 'foo') in Vim, then Vim always creates an empty directory named 'foo/~'. In my vimrc, I specify 'nobackup', 'nowritebackup', and 'backupdir=$TEMP/vim//'. With the backupdir setting, when I do enable backup files they go to the temp directory as expected.
Still, on both OS X and on Windows, Vim creates empty '~' directories, which are, of course, like leaving very dangerous mines littered around my machine (at least on OS X, where 'rm -rf ~' would be the start of a Bad Day).
I haven't been able to find any information about the empty '~' directory specifically, but lots on backups in general.
How can I disable the creation of empty '~' directories?