Skip to content

Instantly share code, notes, and snippets.

@dedy-purwanto
Created February 12, 2012 15:24
Show Gist options
  • Save dedy-purwanto/1809045 to your computer and use it in GitHub Desktop.
Save dedy-purwanto/1809045 to your computer and use it in GitHub Desktop.
vim relocate swap & undo files
set dir=~/.vim/swaps//,/var/tmp//,/tmp//,.
set undodir=~/.vim/undos//,/var/tmp//,/tmp//,.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment