kernelp4nic
8/10/2015 - 12:55 PM

Default (OSX).sublime-mousemap

[
    // 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"
    },

]