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

Stage all mapping #171

Open
tiagoboldt opened this issue Jan 25, 2019 · 3 comments
Open

Stage all mapping #171

tiagoboldt opened this issue Jan 25, 2019 · 3 comments

Comments

@tiagoboldt
Copy link

tiagoboldt commented Jan 25, 2019

Short description of the problem

In Stage mode, we have to individually pick the files/chunks to be staged. It is not possible to stage all changes files at once.

Suggestion for improvement: new mapping to stage all changes in all files. An alternative, if I visual select the whole Stage buffer and use the stage mapping, that all files are staged at once.

@jreybert
Copy link
Owner

That's a good idea. The main obstacle for that new feature is the mapping.

The natural mapping should be SA, for Stage All. But it would break the main mapping S, adding a pause after the lone S keypress.

Then, main mapping Stage could be SS, allowing a lot of Ssomething declination mappings. But I am quite hesitant to break the main mapping.

Fill free to add any remarks about that.

@tiagoboldt
Copy link
Author

The localleader could be used for vimagit buffer-specific mappings. localleader S-A could stage all, leaving the simple S with the behavior it has today. localleader could be used in the future to prepend additional complex mappings.

@markkuit
Copy link

Any ETA for this? I see it's being worked on on a fork.

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

3 participants