Closed dsirov closed 1 year ago
Thanks for the feature request!
This is my first time hearing about this feature. Can you elaborate a little bit more about how Fugitive populates the quickfix/location list and how you might use it so I can understand the feature? What does Fugitive populate into the lists? How might you use this?
It didn't quite click when reading the documentation for Fugitive but I've had a chance to actually try :Gclog
/:Gllog
now and I think I understand what you're looking for now. You want to be able to populate the quickfix/location list with the commits that show up in :Flog
, instead of writing them to a buffer and showing them in a normal window, is that right?
There may be a lot of difficulties showing commits in a list rather than in a buffer here but let me also make sure I understand your core problem:
this may further simplify prev./next commit browsing without jumping back from the commit buffer (window) back to Flog
Is this the issue that you're describing?
If not, could you describe this issue?
Are there any other issues lists would solve?
I think this is mainly relevant for browsing, which is made especially easy with the unimpaired plugin, which introduces ]l and [l for location list and ]q and [q for quickfix list prev./next shortcuts.
You may want to check out this great video blog post which deals specifically with history browsing using fugitive and quickfix list.
The quickfix and location list are great, and I use unimpaired, and I have enjoyed the full vimcasts series on Fugitive, but I still have questions about how you'd like this to work.
I think this is mainly relevant for browsing
Can you clarify what you mean by "browsing"?
Particularly I can't reconcile this with what you said in your original post:
this may further simplify prev./next commit browsing without jumping back from the commit buffer (window) back to Flog
Can you please outline, step-by-step, how you'd like this to work?
I am particularly not sure what Flog can do that :Gclog
and :Gllog
can't already do.
It's been a while, I can re-open if you'd like to provide more details about how this should work.
If Flog would enable (optionally) populating quickfix or location lists (hopefully supporting both) this may further simplify prev./next commit browsing without jumping back from the commit buffer (window) back to Flog.
[Fugitive does this and it is quite handy...]