S
S
safright2012-09-11 11:08:22
git
safright, 2012-09-11 11:08:22

How to bind "Git: Add..." to hotkey in Sublime Text 2?

There is a Git plugin for Sublime Text 2, when I work with them, when I work through the console, but it’s still easier to add files from the editor - a list opens through the command palette from which files can be massively selected. There was a problem zabindit action on a combination of keys.
Git panel view: Add... in Sublime Text 2
I found the command that the plugin executes for this: "git_add_choice". However, he executes it from an already open menu, the attempts of the view
{ "keys": ["ctrl+shift+q"], "command": "git_add_choice"}
{ "keys": ["ctrl+shift+q"], "command": "show_overlay", "args": {"overlay": "git_add_choice"} }
did not give anything.
There are no problems with the rest of the commands, for example,
{ "keys": ["ctrl+shift+q"], "command": "git_quick_commit" }
it works perfectly.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question