Open petobens opened 3 months ago
dd
is a fast way of doing "do what I mean" - it'll diff whatever you have selected. It seems to be working fine for me.. If you can make a simple reproduction I'll try to figure out why it's not working for you.:Inspect
doesn't report the highlight groups?
:Inspect
is not reporting the hl groups.That's not going to work 😓 The table gets inverted (keys become values) for easy lookup, so if two key have the same value, I think that's going to create a collision. Someday I'd like to have a mapping API as nice as telescope, but for now... here's what we've got.
Coming but to this I did notice today that in my config I have:
mappings = {
status = {
['X'] = 'Discard',
....
}
}
and both x
and X
work to trigger a discard event. So the [c
and [h
doesn't work because both are user defined? Whereas X
is user defined and x
is from neogit default config?
Hi! I'm playing with the inline status diff and have a few questions:
Is possible to add custom highlights? For instance in the image below I would like to change the light blue highlight of the hunk, how the green add line is highlighted and so on![image](https://github.com/NeogitOrg/neogit/assets/2583971/1fc47f1d-ca88-44ff-bc44-17831d310ed4)
I want to be able to move between hunks with both
[h
and[c
(since I never remember which one to press) however when add the following mapping config:I get:
If I remove the last two mappings the error goes away but then
[c
and]c
are not mapped.If as in the gif I press
=
on a modified file to toggle the diffs and then move inside a hunk and press=
again then only thehunk
get folded. To fold the whole file I therefore need to move to the filename and press=
there. Is it possible to simply autoggle hunks (i.e closing and opening alltogether rather in a 2 step process?). I guess this is similar to https://github.com/NeogitOrg/neogit/issues/651#issuecomment-1681235969I don't quite understand how the![Peek 2024-04-27 17-25](https://github.com/NeogitOrg/neogit/assets/2583971/c760ec49-da56-48af-9ef3-6e22b74032a9)
diff
(diffview) integration works from within the status buffer. I pressd
and thend
again on a modified file (ord
ands
on a staged file) diffview always opens a window withdiffview://null
as per the following GIF:Bonus: I guess 1. also applies to![image](https://github.com/NeogitOrg/neogit/assets/2583971/88ebcaea-bdbf-4963-8f2f-2de5250b2f48)
NeogitCommitView
where highlight groups also seem not configurable?