diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-02-12 18:50:39 +0100 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-02-12 18:50:39 +0100 |
commit | 3a59a2c1ad131db664647d40481558f7b24eb9db (patch) | |
tree | 4423034b9a9fffaef730bc7f5139ffc1833a21b1 /vimrc | |
parent | d7bc67f8cb41f00ff3ec03e5fd8f6afe5f2b59ca (diff) | |
download | dotfiles-3a59a2c1ad131db664647d40481558f7b24eb9db.tar.gz dotfiles-3a59a2c1ad131db664647d40481558f7b24eb9db.zip |
vimrc: added undodir
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -197,6 +197,15 @@ nnoremap <leader>dw :windo diffthis<CR> nnoremap <leader>dn :diffoff!<CR> "}}} +"{{{ undodir + +if !isdirectory($HOME . "/.vimundo") + call mkdir($HOME . "/.vimundo", "", 0700) +endif +set undodir=$HOME/.vimundo +set undofile + +"}}} "{{{ Basic Movement augroup aug:HelpPageKeyMaps |