+
Skip to content

FR: File based scrolling (jumping) in diff panel/view #1360

@vt-alt

Description

@vt-alt

There could be situation with very lengthy diffs for some file in particular commit. (For example feature is added and big new file is added with small integrations to other files.) It would be useful to improve UI to let it jump between files in diff panel of main view.

For example, with ctrl- or alt- + -up or -down arrow would move diff frame to a next file.

Currently it's possible to move cursor in diff panel with j/k to a filename (that require very many keypresses to scroll pass commit message and formatting) then enter to the filename and it jumps to a diff part for that file, then it is not possible to return or select next file. Jump with one keypress would be a lot handier.

Action names could be scroll-next-file/scroll-prev-file

Additionally, with this feature it would be useful to enable diff view for merge commits as we could easily navigate through it.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载