Skip to content

Commit

Permalink
tweak(vc): smerge-next -> smerge-vc-next-conflict
Browse files Browse the repository at this point in the history
This is provided by `smerge-mode` in Emacs 27, and functions exactly
like `smerge-next`, except that if there are no more conflicts in the
current file, it will go to the next file with conflicts.

Arguably this could be a different key binding. However, I find that it
is almost strictly superior to `smerge-next`: I can't think of a case
where I *wouldn't* immediately want to go to the next file with
conflicts, and even if you do by accident you can just pop back to the
preceding buffer. So I think it warrants being the default.

Close: doomemacs#5431
  • Loading branch information
michaelpj authored and hlissner committed Mar 22, 2023
1 parent 09f602b commit bab4c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/emacs/vc/autoload/hydra.el
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"
("g" (progn (goto-char (point-min)) (smerge-next)))
("G" (progn (goto-char (point-max)) (smerge-prev)))
("C-j" smerge-next)
("C-j" smerge-vc-next-conflict)
("C-k" smerge-prev)
("j" next-line)
("k" previous-line)
Expand Down

0 comments on commit bab4c92

Please sign in to comment.