From ec7455393c7f71334a65cb2c8299a2379476fd23 Mon Sep 17 00:00:00 2001
From: Michael Grote <michael.grote@posteo.de>
Date: Sat, 7 Jan 2023 12:00:59 +0100
Subject: [PATCH] add undotree

---
 .vimrc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.vimrc b/.vimrc
index a6215cb..7ab6495 100644
--- a/.vimrc
+++ b/.vimrc
@@ -40,6 +40,8 @@ Plugin 'ConradIrwin/vim-bracketed-paste'
 Plugin 'wellle/targets.vim'
 " multi cursor; setze cursor mit \\\
 Plugin 'mg979/vim-visual-multi'
+" Undotree
+Plugin 'mbbill/undotree'
 " Markdown-Preview in Browser
 " :source %
 " :PluginInstall
@@ -195,6 +197,9 @@ vnoremap <Leader>sr  y:%s/<C-R>"//gc<Left><Left><Left>
 nnoremap <F2> :call ToggleNERDTreeFind()<CR>
 " toogle floaterm
 let g:floaterm_keymap_toggle = '<F3>'
+" toddle Undotree
+nnoremap <F6> :UndotreeToggle<CR>
+nnoremap <Leader>u :UndotreeToggle<CR>
 
 " ### Abbreviations
 iabbrev ncicht nicht