1

For SublimeCodeIntel, the default key bingding as below:

  • Jump to definition = Ctrl + Click
  • Jump to definition = Ctrl + Cmd + Alt + Up
  • Go back = Ctrl + Cmd + Alt + Left
  • Manual Code Intelligence = Ctrl + Shift + space

SublimeCodeIntel default keymap:

[
 { "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 default mouse binding:

[
    { "button": "button1", "modifiers": ["ctrl"], "command": "goto_python_definition", "press_command": "drag_select" }
]

I want to change key binding of "Go back" to Ctrl+ Right Click, How to make it? Anyone can help me? Thanks in advance!

Morteza Asadi
  • 1,819
  • 2
  • 22
  • 39
pangpang
  • 8,581
  • 11
  • 60
  • 96

1 Answers1

1

I found a way:

[
    {
        "button": "button1", 
        "count": 1, 
        "modifiers": ["ctrl"],
        "press_command": "drag_select",
        "command": "goto_definition"
    },
    {
        "button": "button2", 
        "count": 1, 
        "modifiers": ["ctrl"],
        "command": "back_to_python_definition"
    }
]
pangpang
  • 8,581
  • 11
  • 60
  • 96