Sublime Forum

Subllime 4 built-in chain command fail

#1

Hi all,

Lamentably i had to change mi OS to Windows 11 and also update from Sublime 3 to Sublime 4. for 5 year i had used Chain of command package and not problem.

But with Sublime 4 my keymap dont work. I had read that Sublime 4 includes a built-in chain command.

I tried to run this example to Kill Repl (Sublime Repl) but i failed.

Build 4142

I have to remove Chain of command package?
What folder have to install this package?.
I have to add in default keymap file?
Thanks in advance

{
    "keys": ["ctrl+alt+z"],
    "command": "chain",
    "args": {
        "commands": [
               ["focus_group", {"group": 1}],
               ["repl_kill"]
        ]
    }
}
0 Likes

#2

Both, Chain of Commands’ and built-in “chain” command are of type WindowCommand, which expects all items of "commands": [] to be instances of WindowCommand as well.

0 Likes