Skip to content

Commit

Permalink
Backup and swap files in a dedicated directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
loicfrering committed Mar 9, 2012
1 parent aba1e82 commit 57b15fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vim/backup/.gitignore
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions .vim/temp/.gitignore
@@ -0,0 +1,2 @@
*
!.gitignore
4 changes: 4 additions & 0 deletions .vimrc
Expand Up @@ -11,6 +11,10 @@ filetype plugin indent on
" Set encoding
set encoding=utf-8

" Backup and swap files
set backupdir=~/.vim/backup//
set directory=~/.vim/temp//

" Searching
set hlsearch
set incsearch
Expand Down

0 comments on commit 57b15fc

Please sign in to comment.