add undodir

This commit is contained in:
Ben Harris 2019-04-09 00:15:36 -04:00
parent bcb5298353
commit d1f5802282
2 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,7 @@ sublime:
vim:
@printf "$(YELLOW)--- vim ------------------------------------------------\n$(RESET)"
mkdir -p ~/.vim/undodir
git submodule update --init -- vim/.vim/bundle
stow -t "$$HOME" vim

View File

@ -9,6 +9,8 @@ set smarttab
set tabstop=4
set shiftwidth=4
set expandtab
set undofile
set undodir=~/.vim/undodir
set nrformats-=octal