# HG changeset patch # User Meredith Howard # Date 1571548610 18000 # Node ID de41d00d834404b00254a5567c43eaef68d184a0 # Parent ff296d6c550f27fca880a800b755d48fd5b822be switch from gundo to undotree diff --git a/.vimrc b/.vimrc --- a/.vimrc +++ b/.vimrc @@ -27,7 +27,7 @@ let s:filename = expand('') Plug 'Shougo/vimproc.vim' Plug 'Shougo/unite.vim' Plug 'Shougo/vimfiler.vim' - Plug 'sjl/gundo.vim', {'on': 'GundoToggle'} + Plug 'mbbill/undotree', {'on': 'UndotreeToggle'} Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'} Plug 'godlygeek/tabular' @@ -64,7 +64,7 @@ let s:filename = expand('') " Key maps {{{ nnoremap :VimFilerExplorer noremap :set hls! -nnoremap :GundoToggle +nnoremap :UndotreeToggle nnoremap :TagbarToggle nnoremap ub :Unite buffer @@ -373,8 +373,11 @@ let g:vimwiki_list = [ let g:viewdoc_open = 'topleft new' let g:viewdoc_winwidth_max = 100 -">> Gundo -let g:gundo_prefer_python3 = 1 +">> Undotree +let g:undotree_SplitWidth = 45 +let g:undotree_SetFocusWhenToggle = 1 +let g:undotree_ShortIndicators = 1 +let g:undotree_DiffCommand = "diff -dp -U 1" ">> Tagbar let g:tagbar_autoclose = 1