Make the undo region apparent!
- Vim 8.1+ or Neovim 0.6.0+
If Vim, following features are required.
+reltime+float+timers+job
If you are using a Vim earlier than 9.1.0071, this plugin needs an external diff command to work.
diffcommand (https://www.gnu.org/software/diffutils/)
" should be 1
:echo executable('diff')nmap u <Plug>(highlightedundo-undo)
nmap <C-r> <Plug>(highlightedundo-redo)
nmap U <Plug>(highlightedundo-Undo)
nmap g- <Plug>(highlightedundo-gminus)
nmap g+ <Plug>(highlightedundo-gplus)