News for hackers. Stuff that matters.
Re:Configuring vim right by Tritis on Tuesday November 11, 2008 @01:23PM (#360748)
set backupdir=~/.vim/backup//

set directory=~/.vim/swp//

If you end your settings with double trailing // then vim will automatically use the full path to the file

so editing

/etc/X11/x.org and ~/x.org won't clobber each other in your swap directory.

There are no comments on this comment yet.