plugins - Added undotree

This commit is contained in:
Emmanuel BENOîT 2023-06-18 11:43:44 +02:00
parent 73003b1e0d
commit 1bc2b6acb4
No known key found for this signature in database
GPG key ID: 2356DC6956CF54EF
3 changed files with 4 additions and 1 deletions

5
plugins/undotree.cfg.vim Normal file
View file

@ -0,0 +1,5 @@
" Keyboard shortcut
nnoremap <Leader>u :UndotreeToggle<CR>
" Hide the sign column
autocmd FileType undotree setlocal signcolumn=no

View file

@ -0,0 +1,4 @@
call dein#add('mbbill/undotree', #{
\ lazy: 1 ,
\ on_map: #{ n: [ '<Leader>u' ] },
\ })