From e8d1eb117a67a1e42d0ec7418fee4a42c5d2b479 Mon Sep 17 00:00:00 2001 From: condy Date: Sun, 23 Jan 2022 14:58:30 +0800 Subject: [PATCH] Use default v/V for magit revert action Fixes #571 Co-authored-by: Micah Buckley-Farlee --- modes/magit/evil-collection-magit.el | 1 - 1 file changed, 1 deletion(-) diff --git a/modes/magit/evil-collection-magit.el b/modes/magit/evil-collection-magit.el index 320b0a6..8087789 100644 --- a/modes/magit/evil-collection-magit.el +++ b/modes/magit/evil-collection-magit.el @@ -577,7 +577,6 @@ evil-collection-magit affects.") (magit-dispatch "v" "-" magit-reverse) (magit-dispatch "k" "x" magit-discard) (magit-remote "k" "x" magit-remote-remove) - (magit-revert "v" "-" magit-revert-no-commit) ;; FIXME: how to properly handle a popup with a key that appears twice (in ;; `define-transient-command' definition)? Currently we rely on: ;; 1. first call to `evil-collection-magit-change-popup-key' changes the first "V"