⌘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.
sublime text 3 code folder short cut key definition is not working
-
07-07-2023 - |
Domanda
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.
I think the reason is there is conflict 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!
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow