Question

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!

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top