Closed RaafatTurki closed 1 week ago
Thanks for the suggestion!
I don't see a usable/helpful way of integrating conflict resolution/visualization into 'mini.diff'. Conflict markers are searchable and quite visible text, so that working with them is as straightforward as possible.
Generally speaking, this feels like a job either for a general purpose text editing mapping or a full featured Git client (if there are some tricky edge cases I am not aware of). There is a suggested approach for the first one in 'mini.bracketed'.
Closing as not planned.
Contributing guidelines
Module(s)
mini.git, mini.diff
Description
This is a very deep rabbit hole but some users (myself included) resolve their conflicts without multi-pane diffing using the bare git markers only.
My proposition here is giving mini.diff the ability to use git merge as a diffing reference for its extmarks (it would be nice to have a couple new markers such as
ours
,theirs
if not then the sameadd
,change
,delete
markers could be reused)Furthermore mini.git could get a a keymap that accepts the hunk the curser is currently within (either the
ours
hunk or thetheirs
hunk)