Bind command to stage file and commit in Git-tab


#1

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?


#2

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


#3

How can I integrate with Git-tab?


#4

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.