Skip to content

UX / Feature suggestion - stay in hunk viewing mode after discard #5734

Description

@Andrej730

One thing I've noticed trying out lazygit, it seemed a bit unintuitive when you do commits -> select some commit with enter -> select some file with enter -> d to discard some hunk it exits hunk editing mode and you always need to reenter it, it feels like exiting hunk mode should be explicit for user in that case.

See the demo below - note that after each discard user needs to reenter hunk viewing mode.

Screencast.From.2026-06-27.17-48-35.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions