0

I update to Sublime 4 and I am getting problems with an older chain command keymaps.

I am triying to close a Sublime Repl session with a simple chain command, my old shortcut work fine with Sublime 3 but not with Sublime 4, If I split in two command works, but its not very elegant. Do you know some solution?

// This work
{"keys": ["ctrl+alt+enter"], "command": "chain", "args": {"commands": [

     ["focus_group", {"group":1}]
] } },

// This work too
{"keys": ["ctrl+alt+shift"], "command": "chain", "args": {"commands": [

     ["repl_kill"]
 ] } },

// Dont work, work fine with Sublime 3
{"keys": ["ctrl+alt+enter"], "command": "chain", "args": {"commands": [

     ["focus_group", {"group":1}],

     ["repl_kill"]
 ] } }

My groups and windows look like this.

I use Legacy package this is the reason that look like Sublime 3:

windows

3
  • You're missing a comma in your "Don't work" example, between arrays in the "commands" attributes. With this correction, does your error still persist? Commented Nov 4 at 20:21
  • Yep was a error in the example, but in the real shortcut i did put the comma. Sublime up a windows to notify this error. Thanks Commented Nov 4 at 20:25
  • Yep the error still persist. Commented Nov 4 at 21:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.