2017-02-08 79 views
0

對於SublimeCodeIntel,默認密鑰丙丁如下:如何更改SublimeCodeIntel鍵綁定Sublime Text 3在mac上?

  • 跳轉到= 按Ctrl +點擊
  • 跳轉到= 爲Ctrl + Cmd + Alt +向上
  • 回到= Ctrl + Cmd + Alt +左​​
  • 手動代碼智能= 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" 
 
    } 
 
]

相關問題