문제

I am trying to use code folding command, but the short-cut is not working. I have to use menu, which is not convenient.

What does the "," mean in short cut? I tried the short cut on both side of the ",". They all not working. command + K is not working.

enter image description here

I think the reason is there is conflict here:

enter image description here

Then I try to configure a unique short cut key, which is also not woriking. Here is my configure

[
    {"keys":["super+;"],"command": "run_macro_file", "args": {"file":"Packages/User/Semicolon.sublime-macro"}},
    { "keys": ["ctrl+enter"], "command": "open_in_browser"},
    { "keys": ["alt+d"], "command": "goto_definition" }, 
    { "keys": ["command+9"], "command": "fold_level_9" } // here is the definition

]

Can you please tell me what I did wrong? How do I make the code folding short-cut work?

Thank you!

도움이 되었습니까?

해결책

K, 3 means you hit K, release both buttons, then hit 3. Sublime allows these compound keyboard commands, and recognizes it as different from 3 alone. Try removing your custom shortcut keys (as they may be interfering with other commands) and seeing if the built-in commands work now.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top