Skip to content

Add gg / G navigation in hunk diff #286

@kubk

Description

@kubk

In Vim / git diff gg and G are used for quick top bottom jumps. Hunk already supports that via Home/End shortcuts. I get that we can learn another shortcut, but it would make switching from git diff to hunk diff much smoother for people like me, who already have it in their muscle memory.

I'm proposing just 2 additions:

  • Home and gg both jump to top
  • End and G both jump to bottom

Happy to make a PR if it's approved

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions