1

对于SublimeCodeIntel,默认键绑定如下:

  • 跳转到定义 =Ctrl + Click
  • 跳转到定义 =Ctrl + Cmd + Alt + Up
  • 回去=Ctrl + Cmd + Alt + Left
  • 手动代码智能 =Ctrl + Shift + space

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+ Right Click,如何制作?任何人都可以帮助我吗?提前致谢!

4

1 回答 1

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"
    }
]

于 2017-02-09T02:46:27.567 回答