Explorar o código

Add vim undotree

Undo branch visualisation without the python dependency (like with
Gundo).
Weiyi Lou %!s(int64=10) %!d(string=hai) anos
pai
achega
13afff2b43
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 1 0
      vim/plugins.vim
  2. 3 0
      vim/settings/toggles.vim

+ 1 - 0
vim/plugins.vim

@@ -18,6 +18,7 @@ Plug 'haya14busa/vim-asterisk'
 Plug 'joonty/vdebug'
 Plug 'matchit.zip'
 Plug 'scrooloose/nerdcommenter'
+Plug 'mbbill/undotree'
 Plug 'terryma/vim-multiple-cursors'
 Plug 'tpope/vim-endwise'
 Plug 'tpope/vim-fugitive'

+ 3 - 0
vim/settings/toggles.vim

@@ -13,3 +13,6 @@ nnoremap <silent> <Leader>s :set scrollbind! scrollbind?<CR>
 
 " Toggle line numbers
 nnoremap <silent> <Leader>n :set number! relativenumber! relativenumber?<CR>
+
+" Toggle Undotree
+nnoremap <silent> <Leader>u :UndotreeToggle<CR>