I already did a lot with
/Application Support/Sublime Merge/Packages/User/Default (OSX).sublime-keymap
for example:
[
{ "keys": ["ctrl+super+up"], "command": "move_commit", "args": { "commit": "$commit", "down": false },
},
{ "keys": ["ctrl+super+down"], "command": "move_commit", "args": { "commit": "$commit", "down": true },
},
{ "keys": ["ctrl+shift+super+enter"], "command": "edit_commit_contents", "args": { "commit": "$commit" },
},
{ "keys": ["ctrl+shift+super+s"], "command": "hide_all_refs_except" },
{ "keys": ["ctrl+super+enter"], "command": "edit_commit" },
]
And this works well.
Now I want to add some mouse mappings, in:
/Application Support/Sublime Merge/Packages/User/Default (OSX).sublime-mousemap
[
{ "button": "button1", "count": 1, "modifiers": ["alt"],
"command": "checkout_branch", "args": {"branch": "$commit"} },
]
This one works after SM reload, and I created “alt+click” to have a proof of concept, because it works only inside text fields (commit messages or commit code) and there’s double-click has another usage (select words).
But I want to be able to “check out commit” when I alt-click commit itself (but actually I am aimed for double-click) in the list of commits, in those column vertical tree items…
I tried to reverse engineer all packs for hints, but didn’t succeed, need community or great Author @wbond help.