I created a simple macro to do what I want (including copying the selected text to the clipboard because why not
)
SelectLineNoEOL.sublime-macro
{ "command": "move_to", "args": { "to": "hardbol" } },
{ "command": "move_to", "args": { "to": "eol", "extend": true } },
{ "command": "copy", "args": null }
]
And bound it to a key shortcut (Cmd+B is a random choice just to test it):
{ "keys": "super+b"], "command": "run_macro_file", "args": {"file": "res://Packages/User/SelectLineNoEOL.sublime-macro"} },
So far so good, next I mapped it to a mouse action, Alt+triple-click in this case:
~/Library/Application Support/Sublime Text 3/Default (OSX).sublime-mousemap
{
"button": "button1", "count": 3,"modifiers": "alt"],
"press_command": "run_macro_file", "press_args": {"file": "res://Packages/User/SelectLineNoEOL.sublime-macro"}
}
]
Thanks for pointing me in the right direction!