Last active
August 29, 2015 14:00
-
-
Save zph/11482413 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " This folder is automatically created in zph's .zshrc | |
| set backupdir=~/tmp/vim | |
| set directory=~/tmp/vim " Don't clutter my dirs up with swp and tmp files | |
| " EXPERIMENTAL | |
| " Set persistent undo for vim using tempdir | |
| set undodir=~/tmp/vim | |
| set undofile |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To Use:
mkdir -p ~/tmp/vimThen place this in .vimrc to have it no longer leave swp files all over filesystem.