Repository navigation
Add Stage All and Unstage All buttons in git panel - #405
Conversation
b1d063c to
cc62c4e
Compare
Yeah I think cmd-a + enter should be good enough to cover keyboard support while the focus is in the git panel, and that way we can keep the tab cycle tight. On a related note, @smashwilson brought up a good point that having Atom-level commands for stage/unstage all on the workspace could be handy and save the user from having to first focus the git panel. They can do |
| 'github:activate-previous-list': () => this.activatePreviousList(), | ||
| })); | ||
| this.subscriptions.add(this.props.commandRegistry.add('atom-workspace', { | ||
| 'github:stage-all': () => this.stageAll(), |
There was a problem hiding this comment.
Awww you didn't go with github:shotgun 😉
Yessss.. 💯 Looking at #174, |
Hmm maybe. But perhaps we'll want to reserve that for other potential panels (like a config panel?). I think for now I'll just merge without keybindings and the user can do the binding themselves if they like. And we can always add a default binding in the future if we decide it's a good idea. |
|
@kuychaco how can I add a default binding for stage/unstage all? thanks a lot! |
|
@Mike3run here's how you can add a default binding for stage/unstage all:
Refer to the following documentation for more details on keymaps in-depth: http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ Hope this helps! |
|
Thanks a lot @kuychaco |

Fixes #119
/cc @simurai for design 💭