junegunn / gv.vim

A git commit browser in Vim
1.35k stars 54 forks source link

Question: fill location list with list of revisions passed as argument #118

Closed fab4100 closed 8 months ago

fab4100 commented 8 months ago

I would like to fill the location list similar to GV? but not for the current file rather pass some revisions on the command line. My main issue is that I try to find a way to get a location/quickfix list of stash objects. In fugitive if I type "stash" on the command line I will get a list of saved stashes when tapping tab which I can expand using ctrl-a. I would like to put that list into a say location list to browse through these objects. Can this be done currently?

I can get a single stash using :GV stash or something like :GV stash@{2} (although I need to remove the backslash when using tab completion).

Thanks for the time and effort!

fab4100 commented 8 months ago

Example solution: Gclog -g stash