about summary refs log tree commit diff
path: root/vim
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2019-04-09 00:15:36 -0400
committerBen Harris <ben@tilde.team>2019-04-09 00:15:36 -0400
commitd1f58022821603d69c7c2c8f2dff61476f9170c9 (patch)
tree223ad5eef80f9af6ff60ad2e48fca454c5a1c264 /vim
parentbcb5298353d68db6ebd4293d7b917e2be163e3c9 (diff)
add undodir
Diffstat (limited to 'vim')
-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