aboutsummaryrefslogtreecommitdiff
path: root/inc/undo.vim
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-10-29 00:01:44 -0400
committerMitch Riedstra <mitch@riedstra.us>2018-10-29 00:01:44 -0400
commit188cc44f0d8b090caa740fa7e9b6a197df38b88f (patch)
tree44db8d4a284f82f88fc96126f79164c594d2007e /inc/undo.vim
parent0dbc1ced53ab90811238ba2c25d52f0ceaadff55 (diff)
downloadvim-cfg-188cc44f0d8b090caa740fa7e9b6a197df38b88f.tar.gz
vim-cfg-188cc44f0d8b090caa740fa7e9b6a197df38b88f.tar.xz
massive refactor of my vimrc
Diffstat (limited to 'inc/undo.vim')
-rw-r--r--inc/undo.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/undo.vim b/inc/undo.vim
new file mode 100644
index 0000000..78c7e48
--- /dev/null
+++ b/inc/undo.vim
@@ -0,0 +1,10 @@
+" Persistent undo
+set undofile
+set undodir=~/.vimundo
+set undolevels=1000
+set undoreload=10000
+
+" lots of history, it's always nice to find old nasty command that happen
+" to be really useful
+set history=10000
+"