Skip to content

help/docs bug: blame view keybindings are hard to discover #1315

@ilyagr

Description

@ilyagr

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 pane
  • b opens the current file at the blamed commit when already in blame view
  • < goes back to the previous view, e.g. undoes b (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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions