对于SublimeCodeIntel,默认键bingding如下:
SublimeCodeIntel默认键映射:
[
{ "keys": ["shift+ctrl+space"], "command": "code_intel_auto_complete" },
{ "keys": ["super+alt+ctrl+up"], "command": "goto_python_definition"},
{ "keys": ["super+ctrl+space"], "command": "back_to_python_definition"}
]
SublimeCodeIntel默认鼠标绑定:
[
{ "button": "button1", "modifiers": ["ctrl"], "command": "goto_python_definition", "press_command": "drag_select" }
]
我想将“返回”的键绑定更改为 Ctrl +右键单击,如何制作?有人可以帮帮我吗?提前谢谢!
答案 0 :(得分:1)
我找到了一种方法:
[
{
"button": "button1",
"count": 1,
"modifiers": ["ctrl"],
"press_command": "drag_select",
"command": "goto_definition"
},
{
"button": "button2",
"count": 1,
"modifiers": ["ctrl"],
"command": "back_to_python_definition"
}
]