The git plugin for sublime text has many options populated in the command pallet

but I want to assign keyboard shortcuts to some of them. How do I find out which commands to use for those commands?

For ex, what command do I use if I want to assign a keyboard shortcut to "Git: Graph All" command?

{ "keys": ["ctrl+shift+l"], "command": "?? Git: Graph All ??" },


Unfortunately, I don't think there's a way to do this within Sublime. You can look at the source code, though. There will be a file with the ".sublime-commands" extension, in which you can find this information. For the Git plugin:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.