title: How to prepend characters to Vim backup file names?
body: <p>By default, Vim appends a tilde <code>~</code> to backup files. I know there's a configuration option to customize the backup file extension: If you set <code>backupext=.bak</code> in your .vimrc file, your backup files will have <code>.bak</code> appended to them instead of a tilde.</p>
  
  <p>I'm wondering what's the best way to have Vim automatically prepend characters to the backup file name. Specifically, I'd like Vim to prepend a period <code>.</code> while continuing to append a tilde <code>~</code>. </p>
  
  <p>(If you're wondering why, I use KDE and don't like Dolphin to display backup files - see <a href="http://forum.kde.org/viewtopic.php?f=17&amp;t=82350" rel="nofollow noreferrer">http://forum.kde.org/viewtopic.php?f=17&amp;t=82350</a>).</p>
  
  <p>I also looked at <a href="https://stackoverflow.com/questions/4331776/change-vim-swap-backup-undo-file-name?answertab=active#tab-top">this thread</a>, but I don't want to create a custom backups directory, I just want to prepend a character to the backup file name.</p>