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

@ -42,6 +42,7 @@ This holy module brings the vim experience to Emacs.
+ [[https://github.com/bling/evil-visualstar][evil-visualstar]] + [[https://github.com/bling/evil-visualstar][evil-visualstar]]
+ [[https://github.com/ninrod/exato][exato]] + [[https://github.com/ninrod/exato][exato]]
+ [[https://github.com/emacs-evil/evil-collection][evil-collection]]* + [[https://github.com/emacs-evil/evil-collection][evil-collection]]*
+ [[https://www.github.com/rgrinberg/evil-quick-diff][evil-quick-diff]]
** Hacks ** Hacks
+ The o/O keys will respect and continue commented lines (can be disabled by + The o/O keys will respect and continue commented lines (can be disabled by

View file

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

View file

@ -16,6 +16,7 @@
(package! evil-traces) (package! evil-traces)
(package! evil-visualstar) (package! evil-visualstar)
(package! exato) (package! exato)
(package! evil-quick-diff :recipe (:host github :repo "rgrinberg/evil-quick-diff"))
;; ;;
(when (featurep! +everywhere) (when (featurep! +everywhere)