News for hackers. Stuff that matters.
Re:How I boosted my Vim by jessor on Monday September 13, 2010 @04:37PM (#1688144)
or just do:

set backupdir=./.backup,.,/tmp

set directory=.,./.backup,/tmp

This way, if you want your backups to be neatly grouped, just create a directory called '.backup' in your working directory. Vim will stash backups there. The 'directory' option controls where swap files go. If your working directory is not writable, Vim will put the swap file in one of the specified places.

(http://vim.wikia.com/wiki/Remove_swap_and_backup_files_from_...)

Re:How I boosted my Vim by parfe on Tuesday September 14, 2010 @10:33AM (#1690673)

    set backupdir=~/.vim/backup//
    set directory=~/.vim/swp//
The double tailing slash will store files using full paths so if you edit two different models.py files you won't clobber your swap or backups.
Re:How I boosted my Vim by davidu on Tuesday September 14, 2010 @02:05PM (#1691571)
Oh man, this is awesome. Too bad it's vim-specific and not a shell built-in, which would be handy.