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

Shift+enter to "git add ." in status view #82

Closed
alistaircarscadden opened this issue May 21, 2020 · 3 comments
Closed

Shift+enter to "git add ." in status view #82

alistaircarscadden opened this issue May 21, 2020 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@alistaircarscadden
Copy link
Contributor

Describe the solution you'd like
Would be nice to recreate the add all behaviour with, perhaps, shift+enter.

@extrawurst extrawurst added the enhancement New feature or request label May 21, 2020
@extrawurst
Copy link
Owner

hey @alistaircarscadden this is an edgecase where you have a lot of files in the root of your git folder, cause otherwise you can press enter on the folders to quickly stage/unstage a bunch of files.

Right now I will not add another command because the command bar (on the bottom) is getting crowded slowly. I need to first figure out how to handle additional commands 🤔

@alistaircarscadden
Copy link
Contributor Author

Good point. To me, remembering some hotkeys has never been an issue but I do see you've made it your mandate to have all the keys visible in the UI, which is a noble goal.

If it were up to me, Shift is common enough that to me it means "shift+[X] to do task [X] with a greater scope". I'd just have the command available for those who know the key, and have the key written in the documentation. Shift+Enter in [1] view stages all. Shift+C in [2] view stages all and commits (same behaviour as git commit -a -c <msg>.

@extrawurst
Copy link
Owner

@alistaircarscadden we definitely need to be able to add more convenience shortcuts and still allow people to get the app without studying manpages. I think @MCord came with a good idea in #83 that allows best of both worlds, you will get your shortcut :)

@extrawurst extrawurst added this to the 0.6.0 milestone Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants