diff options
author | Teddy Wing | 2019-06-01 16:04:41 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-01 16:04:41 +0200 |
commit | e377fe0d40162faf1a823cabec28989f8c3e4fae (patch) | |
tree | 5c039d6b6b0f8838816cc9472f74354ae14b21ba | |
parent | 1de41326e06c291cbe4e2183cde818c829fc89cc (diff) | |
download | dotvim-e377fe0d40162faf1a823cabec28989f8c3e4fae.tar.bz2 |
vimrc: Turn on persistent undo
On a couple of occasions I've thought it would be useful to have this,
so let's activate it.
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |