Created
January 23, 2012 19:36
-
-
Save aerosol/1665122 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
| " Undo & history {{{ | |
| set history=1000 | |
| set undolevels=1000 | |
| " make sure tmp dir is created | |
| silent execute '!mkdir ~/.vim/tmp > /dev/null 2>&1' | |
| " delete junk older than 3 days | |
| silent execute '!find ~/.vim/tmp/ -type f -mtime +3 -exec rm {} \;' | |
| set undofile | |
| set undodir=~/.vim/tmp | |
| set backup | |
| set backupdir=~/.vim/tmp | |
| set noswapfile | |
| " }}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment