-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
help/docs bug: blame view keybindings are hard to discover #1315
Comments
I realized that even here, I misunderstood something. It seems that the Update: It seems to be the latter. I wish there was a command for the former as well. E.g., Another confusing thing about the |
BTW, I'd be happy to try implementing this myself, but it'd help if you gave me some pointers. |
This addresses a portion of jonas#1315. Apart from being a bit clearer, the user will be able to learn what `,` is meant to do from it. Trying to press `,` a few times is a natural thing to try to do after reading the help while trying to figure out how blame works in tig.
This addresses a portion of jonas#1315. Apart from being a bit clearer, the user will be able to learn what `,` is meant to do from it. Trying to press `,` a few times is a natural thing to try to do after reading the help while trying to figure out how blame works in tig.
The message is now: Commit f4657f0 has no ancestors modifying the seleted line instead of The selected commit has no parents This addresses a portion of jonas#1315. Apart from being a bit clearer, the user will be able to learn what `,` is meant to do from it. Trying to press `,` a few times is a natural thing to try to do after reading the help while trying to figure out how blame works in tig.
The message is now: Commit f4657f0 has no ancestors modifying the seleted line instead of The selected commit has no parents This addresses a portion of jonas#1315. Apart from being a bit clearer, the user will be able to learn what `,` is meant to do from it. Trying to press `,` a few times is a natural thing to try to do after reading the help while trying to figure out how blame works in tig.
The message is now: Commit f4657f0 has no ancestors modifying the seleted line instead of The selected commit has no parents This addresses a portion of jonas#1315. Apart from being a bit clearer, the user will be able to learn what `,` is meant to do from it. In particular, they should notice that commit `f4657f00` is the commit on the selected *line*, not the commit that is currently displayed in general. Trying to press `,` a few times is a natural thing to try to do after reading the help while trying to figure out how blame works in tig.
Right. I never really used, it seems nice. Sadly it can't know where a line moved to, so the initial position can be confusing. |
The message is now: Commit f4657f0 has no ancestors modifying the seleted line instead of The selected commit has no parents This addresses a portion of jonas#1315. Apart from being a bit clearer, the user will be able to learn what `,` is meant to do from it. In particular, they should notice that commit `f4657f00` is the commit on the selected *line*, not the commit that is currently displayed in general. Trying to press `,` a few times is a natural thing to try to do after reading the help while trying to figure out how blame works in tig.
That's a good point. If the "going to an ancestor of the currently displayed commit" operation existed, it'd be equivalent to I think having We could also keep For diff view, I get a bit confused by the multi-view controls, so I seem to tend to avoid it. I just realized that Update:
I'm realizing I'm not sure how to do this, |
I wish they were documented in the in-program help better. There could be a "blame bindings" section. I realize that all the bindings are mentioned in the help already, but their descriptions make it very difficult to understand how they actually work in blame view. Blame is very useful occasionally, but I find it difficult to remember the bindings whenever I use it.
My understanding is that, in blame view:
Enter
opens the blamed commit for the current line in a separate paneb
opens the current file at the blamed commit when already in blame view<
goes back to the previous view, e.g. undoesb
(as elsewhere in tig, but I only use it when blaming),
seems like it could be useful according to the help,but is not actually useful in blame view AFAICT.UPDATE: It is useful, but I'm still unsure what exactly it does. See the next comment.UPDATE 2: It shows the last commit before the blamed commit for the current line that modified the selected line.Thanks for making
tig
, it's very useful! I was thinking of making a PR for this, but I couldn't immediately figure out how the help is generated.The text was updated successfully, but these errors were encountered: