I’m trying to achieve something really simple… i need to bind two actions to a single key in ST3, the first one is to save the current buffer, and the second one is to execute a bit more complex transfer-to-REPL command (which can be packed into a macro for simpler handling).
My problem is that macros can’t execute window-level commands, so i can’t save the file from inside the macro, and using a plugin (like Chain of Command) i can save it, but can’t pass arguments to the commands in the “chain”, so i can’t execute the REPL-transfer directly or from another macro.
I’m shocked that something so simple can be achieved, so, if someone knows a way to do it, it’ll be really appreciated