about summary refs log tree commit diff
path: root/vim/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index e9a7268..b6635a8 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -9,6 +9,8 @@ set smarttab
 set tabstop=4
 set shiftwidth=4
 set expandtab
+set undofile
+set undodir=~/.vim/undodir
 
 set nrformats-=octal