Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/machakann/vim-highlightedundo

Make the undo region apparent!
https://github.com/machakann/vim-highlightedundo

Last synced: 1 day ago
JSON representation

Make the undo region apparent!

Awesome Lists containing this project

README

        

# vim-highlightedundo
Make the undo region apparent!

## Dependency

- 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.
- `diff` command (https://www.gnu.org/software/diffutils/)

```vim
" should be 1
:echo executable('diff')
```

## Usage

```vim
nmap u (highlightedundo-undo)
nmap (highlightedundo-redo)
nmap U (highlightedundo-Undo)
nmap g- (highlightedundo-gminus)
nmap g+ (highlightedundo-gplus)
```