使用ctrl+鼠标左键代替F12进行函数跳转,ctrl+鼠标右键返回函数函数调用,shift+鼠标查找该函数的引用
点击Preferences(首选项)->Browse Packages(浏览插件)进入Packages目录,然后打开User目录,查看User目录里面有没有Default.sublime-mousemap文件,如果没有则创建一个。这个文件是用来配置sublime的鼠标操作的,内容如下:
[
{
"button": "button1",
"count": 1,
"modifiers": ["shift"],
"command": "goto_reference"
},
{
"button": "button2",
"count": 1,
"modifiers": ["ctrl"],
"command": "jump_back"
},
{
"button": "button1",
"count": 1,
"modifiers": ["ctrl"],
"press_command": "drag_select",
"command": "goto_definition"
}
]