Add evil-quick-diff

This introduces the `g o d` text object for comparing regions. It works
like evil-exchange. Select two regions in sequence with `g o d` and an
ediff buffer of the selections will pop up.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
This commit is contained in:
Rudi Grinberg 2019-12-01 14:37:17 +07:00
parent 5baa1eb631
commit e16d6a8d7c
3 changed files with 4 additions and 0 deletions

View file

@ -283,6 +283,8 @@ directives. By default, this only recognizes C directives.")
(evil-exchange-cancel)
t))))
(use-package! evil-quick-diff
:commands (evil-quick-diff evil-quick-diff-cancel))
(use-package! evil-nerd-commenter
:commands (evilnc-comment-operator