You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The git-messenger.vim plugin has functionality to show previous commits for the blame_line, see here. When the commit message window is focussed, o and O can be used to move between older and newer commits. I miss this functionality.
Describe the solution you'd like
Functions that can be mapped that allow moving between older and newer commits for the blame_line.
Describe alternatives you've considered
Current workaround is to open in GitHub blame and click the icon which goes to previous commit for a line. Another alternative is to also install git-messenger.vim.
Additional context
git-messenger.vim gif
The text was updated successfully, but these errors were encountered:
I'm really not sure how useful the older/newer feature is in git-messenger.
I've had a go at implementing this, and I've found the results less than ideal. For example, if a commit introduces a line, git-messenger would blame at the same line despite the fact the line didn't exist in other commits. There were more cases I've found that just gave the wrong results. This all stems from the fact that git blame doesn't give the right information on how to blame lines in older commits. To do this properly, you need to account for line changes by inspecting the hunks of the commit at each blame.
Honestly, I think you are much better off using :Git blame from fugitive.
I found it really useful while working on big projects when many developers maintain code. If you are fixing some bug, it was very easy to find what was the previous implementation on the selected line than searching git_bcommits via telescope/lazygit. Results were always satisfying.
Is your feature request related to a problem? Please describe.
The git-messenger.vim plugin has functionality to show previous commits for the blame_line, see here. When the commit message window is focussed,
o
andO
can be used to move between older and newer commits. I miss this functionality.Describe the solution you'd like
Functions that can be mapped that allow moving between older and newer commits for the blame_line.
Describe alternatives you've considered
Current workaround is to open in GitHub blame and click the icon which goes to previous commit for a line. Another alternative is to also install git-messenger.vim.
Additional context
![git-messenger.vim gif](https://github.com/rhysd/ss/raw/master/git-messenger.vim/history.gif?raw=true)
git-messenger.vim gif
The text was updated successfully, but these errors were encountered: