Sublime Forum

Bind “git: add…” from command palette to hotkey

#1

I’d like to bind action “Git: add…” (multiple files selection) from sublime command palette.

command: show_overlay {"overlay": "command_palette"} //shows command palette itself
command: git_add_choice //shows git:add… list

Binding this commands like that - fails

{ "keys": "ctrl+shift+q"], "command": "git_add_choice"}
{ "keys": "ctrl+shift+q"], "command": "show_overlay", "args": {"overlay": "git_add_choice"} }

Have any ideas?..

problem only with lists, single command like this { "keys": "ctrl+shift+q"], "command": "git_quick_commit" } works perfect

0 Likes