2017-02-08 17 views
0

Для SublimeCodeIntel, ключ bingding по умолчанию, как показано ниже:Как изменить SublimeCodeIntel привязка ключа для Sublime Text 3 на Mac?

  • Перейти к определению = Ctrl + Click
  • Перейти к определению = Ctrl + Cmd + Alt + Up
  • Возвращайтесь = Ctrl + Cmd + Alt + Left
  • Ручной код Intelligence = Ctrl + Shift + пробел

SublimeCodeIntel по умолчанию раскладка: связывание

[ 
 
\t { "keys": ["shift+ctrl+space"], "command": "code_intel_auto_complete" }, 
 
\t { "keys": ["super+alt+ctrl+up"], "command": "goto_python_definition"}, 
 
\t { "keys": ["super+ctrl+space"], "command": "back_to_python_definition"} 
 
]

SublimeCodeIntel по умолчанию мышь:

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

Я хочу изменить привязку клавиш «Вернуться назад» на Ctrl + Щелкните правой кнопкой мыши, Как это сделать? Кто-нибудь может мне помочь? Заранее спасибо!

ответ

0

Я нашел способ:

[ 
 
    { 
 
     "button": "button1", 
 
     "count": 1, 
 
     "modifiers": ["ctrl"], 
 
     "press_command": "drag_select", 
 
     "command": "goto_definition" 
 
    }, 
 
    { 
 
     "button": "button2", 
 
     "count": 1, 
 
     "modifiers": ["ctrl"], 
 
     "command": "back_to_python_definition" 
 
    } 
 
]