Skip to content

[Feature request] toggle_stage command could move to the next file before staging to avoid losing order #354

Open

Description

@carlos-algms

Currently, when you stage a file, the focus moves along with the file, making the next file be unpredictable.

The request is to move to the next unstaged file, if any, to avoid losing the flow and make the next file predictable.

Example:

changes (3)
file-a.txt
file-b.txt (cursor here)
fil-c.txt

If I stage file-b, the focus should move to file-c;

changes (2)
file-a.txt
file-c.txt (cursor is here and the current diff also)

staged changes (1)
file-b.txt

Otherwise, you have to hit ]f (next_file) multiple times to reach the "next file"

Thank you.

Activity

  1. onyx-zup commented on May 23, 2026

    @onyx-zup

    Most wanted at the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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