Bind command to stage file and commit in Git-tab


I want to use command to stage all of file and commit to git repo.

I don’t want to use my mouse (it’s so slow). I can’t find hot-key like that.

How to solve this?


There’s a good package for binding command line instructions to hotkeys: process-palette.


How can I integrate with Git-tab?


Looking at the Command Palette (ctrl-shift-p), I can type “git” and a bunch of commands from the package github come up (which is the same package that creates that tab). You can bind any of those.