-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Click go to definition #52
Comments
To add a custom key binding go to
Here the docs: http://docs.sublimetext.info/en/latest/reference/key_bindings.html |
@pichillilorenzo but what about ctrl+click? I've tried to set it up like this in Default (OSX).sublime-mousemap file, but it doesn't work :(
|
@arnsa works for me: [
{
"button": "button1",
"count": 1,
"modifiers": ["super"], // "super" is cmd button. "ctrl" also works fine
"press_command": "drag_select",
"command": "javascript_enhancements_go_to_definition",
"context": [
{ "key": "selector", "operator": "equal", "operand": "source.js, source.jsx" }
]
}
] |
@helsus thanks, it didn't work with super (probably because cmd+click adds new cursor on sublime, but it worked with ctrl! It doesn't open a file when I click on an import :(, any ideas why? |
Is it possible to somehow add a shortcut (e.g. ctrl+click) to go to definition? The default one from Sublime doesn't work. :(
The text was updated successfully, but these errors were encountered: