aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 10ec759..f2c62ab 100644
--- a/vimrc
+++ b/vimrc
@@ -417,6 +417,7 @@
"
" 2019.06.01:
" * Add `<leader>tc` mapping to close current tab.
+" * Turn on 'undofile' for persistent undo.
"
@@ -481,6 +482,9 @@ set undodir=~/.vim/backup/undo//
" Preserve file attributes, like creation date
set backupcopy=yes
+" Turn on persistent undo
+set undofile
+
" Disable all default ftplugins
" http://vim.wikia.com/wiki/File_type_plugins#Disabling_default_ftplugins
" http://stackoverflow.com/questions/11337129/setting-buffer-specific-variables-in-vim#comment14956146_11351393