Skip to content

Commit

Permalink
set undo directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mthalmei committed Oct 13, 2015
1 parent 455e3bf commit 0c7fa62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
undo/*
yankring_history_v2.txt
.netrwhist
.undo
6 changes: 5 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ set gdefault

if v:version >= 703
"undo settings
set undodir=$HOME/.vim/undo
set undodir=$HOME/.vim/.undo//
set backupdir=$HOME/.vim/.backup//
set directory=$HOME/.vim/.swp//
set undofile

set colorcolumn=+1 "mark the ideal max text width
Expand Down Expand Up @@ -196,3 +198,5 @@ if filereadable(s:host_vimrc)
endif

hi UnwantedTrailerTrash guibg=red ctermbg=red

let g:ag_prg="ag --vimgrep --smart-case -U"

0 comments on commit 0c7fa62

Please sign in to comment.