fix(default): SPC g r: revert without prompting to save

Will save-then-revert now, instead of first prompting to save a modified
buffer before reverting.
This commit is contained in:
Henrik Lissner 2024-09-11 17:58:27 -04:00
parent 5880348a6c
commit b853c4106a
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -511,8 +511,8 @@
:desc "Copy link to homepage" "Y" #'+vc/browse-at-remote-kill-homepage
:desc "Git time machine" "t" #'git-timemachine-toggle
(:when (modulep! :ui vc-gutter)
:desc "Revert hunk at point" "r" #'+vc-gutter/revert-hunk
:desc "stage hunk at point" "s" #'+vc-gutter/stage-hunk
:desc "Revert hunk at point" "r" #'+vc-gutter/save-and-revert-hunk
:desc "Stage hunk at point" "s" #'+vc-gutter/stage-hunk
:desc "Jump to next hunk" "]" #'+vc-gutter/next-hunk
:desc "Jump to previous hunk" "[" #'+vc-gutter/previous-hunk)
(:when (modulep! :tools magit)