From a44ca0a718daf737dabe495218b5c694a5fd2412 Mon Sep 17 00:00:00 2001 From: JiaweiChenC Date: Thu, 5 Oct 2023 09:36:59 -0400 Subject: [PATCH] add S to stage current hunk --- modes/diff-hl/evil-collection-diff-hl.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modes/diff-hl/evil-collection-diff-hl.el b/modes/diff-hl/evil-collection-diff-hl.el index e68c681..b49bc86 100644 --- a/modes/diff-hl/evil-collection-diff-hl.el +++ b/modes/diff-hl/evil-collection-diff-hl.el @@ -68,7 +68,8 @@ "p" 'diff-hl-show-hunk-previous "n" 'diff-hl-show-hunk-next "c" 'diff-hl-show-hunk-copy-original-text - "r" 'diff-hl-show-hunk-revert-hunk)) + "r" 'diff-hl-show-hunk-revert-hunk + "S" 'diff-hl-show-hunk-stage-hunk)) (provide 'evil-collection-diff-hl) ;;; evil-collection-diff-hl.el ends here