Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/machakann/vim-highlightedundo
- Owner: machakann
- Created: 2017-11-07T13:15:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-31T06:55:29.000Z (20 days ago)
- Last Synced: 2024-12-31T07:37:37.027Z (20 days ago)
- Language: Vim Script
- Size: 84 KB
- Stars: 24
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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)
```