Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Jump between sections of status view #220

Open
jeffgran opened this issue Aug 18, 2022 · 1 comment
Open

[Feature Request] Jump between sections of status view #220

jeffgran opened this issue Aug 18, 2022 · 1 comment

Comments

@jeffgran
Copy link

In magit there's a j prefix binding that lets you jump to a section. e.g. I press j u to "jump to unstaged" section and then start working on staging my changes. Just a quicker way to get to the section you are interested in instead of using C-n/C-p to get all the way down there.

@kahole
Copy link
Owner

kahole commented Sep 7, 2022

I'm working on adding g u to unstaged, g s to staged, etc.
In the meantime there are these which let you quickly cycle the entities in a edamagit view:

      {
        "command": "magit.move-next-entity",
        "key": "ctrl+j",
        "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/"
      },
      {
        "command": "magit.move-previous-entity",
        "key": "ctrl+k",
        "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/"
      },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants