Skip to content

Instantly share code, notes, and snippets.

@kernelp4nic
Created August 10, 2015 12:55
Show Gist options
  • Save kernelp4nic/5390bfdab812932d7d91 to your computer and use it in GitHub Desktop.
Save kernelp4nic/5390bfdab812932d7d91 to your computer and use it in GitHub Desktop.
[
// ALT+CLICK -> Go to definition
{
"button": "button1",
"count": 1,
"modifiers": ["alt"],
"press_command": "drag_select",
"command": "goto_definition"
},
// CMD+CLICK -> Go to diff
{
"button": "button1",
"count": 1,
"modifiers": ["super"],
"press_command": "drag_select",
"context": [{"key": "selector", "operand": "markup.inserted.diff"}],
"command": "git_goto_diff"
},
// CMD+CLICK -> Go to diff
{
"button": "button1",
"count": 1,
"modifiers": ["super"],
"press_command": "drag_select",
"context": [{"key": "selector", "operand": "markup.deleted.diff"}],
"command": "git_goto_diff"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment