Skip to content

Instantly share code, notes, and snippets.

@kendellfab
Created August 1, 2013 20:53
Show Gist options
  • Save kendellfab/6135193 to your computer and use it in GitHub Desktop.
Save kendellfab/6135193 to your computer and use it in GitHub Desktop.
Add mouse click `goto definition` in sublime text 3.
Linux - create "Default (Linux).sublime-mousemap" in ~/.config/sublime-text-3/Packages/User
Mac - create "Default (OSX).sublime-mousemap" in ~/Library/Application Support/Sublime Text 3/Packages/User
Win - create "Default (Windows).sublime-mousemap" in %appdata%\Sublime Text 3\Packages\User
[
{
"button": "button1",
"count": 1,
"modifiers": ["ctrl"],
"press_command": "drag_select",
"command": "goto_definition"
}
]
@luoye00
Copy link

luoye00 commented Jul 30, 2025

How to set it with sublime text v4?

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