This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/nvim-old/plug-config/undo.vim

17 lines
477 B
VimL

" Persistent undo history
if has("persistent_undo")
set undodir=$HOME/.local/share/nvim/undodir
set undofile
endif
let g:undotree_WindowLayout = 4
let g:undotree_ShortIndicators = 1
let g:undotree_SplitWidth = 24
let g:undotree_DiffpanelHeight = 10
let g:undotree_DiffAutoOpen = 1
let g:undotree_SetFocusWhenToggle = 1
let g:undotree_RelativeTimestamp = 1
let g:undotree_HelpLine = 1
let g:undotree_HighlightChangedText = 1
let g:undotree_HighlightChangedWithSign = 0