From 30bceeba89c062f168e8dfd4c23f80cc27669014 Mon Sep 17 00:00:00 2001 From: Nachuan Tang Date: Mon, 5 Sep 2022 11:59:57 -0400 Subject: [PATCH] add undotree plugin --- .vimrc.bundles | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vimrc.bundles b/.vimrc.bundles index 81d8f2d..e6a0242 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -72,6 +72,7 @@ Plug 'NLKNguyen/papercolor-theme' Plug 'airblade/vim-rooter' + Plug 'mbbill/undotree' " only work with nvim > 0.5 " For other versions, just loading the plugin may @@ -134,6 +135,10 @@ if g:vim_type == 'nvim' endif " } + " mbbill/undotree { + nnoremap ut :UndotreeToggle + " } + " airblade/vim-rooter { if isdirectory(expand(plugin_dir . "/vim-rooter")) let g:rooter_patterns = ['.vscode', '.git']