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:
parent
5880348a6c
commit
b853c4106a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue