Skip to content

Instantly share code, notes, and snippets.

@PhilKershaw
Last active December 22, 2015 19:39
Show Gist options
  • Save PhilKershaw/6521159 to your computer and use it in GitHub Desktop.
Save PhilKershaw/6521159 to your computer and use it in GitHub Desktop.
CTRL + [Double] Click function in Sublime Text 2/3. Maps the F12 (Windows) functionality to CTRL+[Double] Click. Create a file containing this JSON in the User preferences directory for Sublime Text: Windows: Default (Windows).sublime-mousemap Linux: Default (Linux).sublime-mousemap OS X: Default (OSX).sublime-mousemap
[
{
"button": "button1",
"count": 1,
"modifiers": ["super", "ctrl"],
"press_command": "drag_select",
"command": "goto_definition"
}
]
@PhilKershaw
Copy link
Author

Added "super" to the modifiers since using "ctrl" alone prevents the use of "ctrl" for multi-select. Also, using "super" alone - on Windows - since it's the "Windows" button it still results in the start menu appearing when released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment