sublimetext2 - Edit the key map for goto definition -


according question, added :

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

to file named default (windows).sublime-mousemap in %appdata%\sublime text 3\packages\user .and works fine. issue here mutiselection feature of sublime text not work, thought edit in such maintain multiselection (ctrl + alt + click) or (ctrl + shift + click) :

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

but doesn't seem work. great. thanks.

try setting following:

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

the "modifiers" array needs have individual keys individual values, separated commas - ["ctrl", "alt"], instead of having them both concatenated plus +. 1 of differences between keymaps , mousemaps.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -