Skip to content

Interactive staging - reduce keypresses #413

@bostjan

Description

@bostjan

When doing interactive staging (in status view), when you display a diff of a file, and press 'u' to stage it, line cursor correctly jumps to next file, but file diff is not displayed. This means another "Return" needs to be pressed to display the diff.

It would be splendid if this redundant "Enter" keypress would't be needed and when next file is highlighted, its diff should be displayed right away, if previous view was displaying diff already.

What do you think?

If this seems reasonable, I might go forward and try to hack this into tig myself, and create a pull request once it is done.

b.

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