dotfiles/symlinks/config/nvim/plugin/undoconf.vim

11 lines
347 B
VimL
Raw Normal View History

2021-02-23 11:27:32 +00:00
" -----------------------------------------------------------------------------
" - Undo configuration -
" -----------------------------------------------------------------------------
set undofile
" Disable persistent undofile for temporary files!
augroup undoconf
autocmd!
autocmd BufWritePre /tmp/* setlocal noundofile
augroup END