[MG06] Execute multiple commands with Sublime's new chain command

[MG06] Execute multiple commands with Sublime's new chain command

Commands in Sublime Text are integral to everything we do; keys pressed, menu items selected, command palette entries picked: all of these execute commands. You may find yourself wanting to execute multiple commands at once, but is this possible?

In previous versions of Sublime Text, the Chain of Command and MultiCommand packages are the de facto way to easily execute multiple commands in a row with minimal effort.

New in Sublime Text 4 is the chain command, which allows you to natively execute multiple commands quickly and easily.

Continue the discussion in the OdatNurd discord: https://discord.gg/b3x5AuwVVY


00:00 Introduction
01:08 New functionality in Sublime Text 4
02:30 Using macros for multiple commands
02:56 Using the new chain command
03:47 Chain example: Simple comment key bindin
04:23 Chain command or macro? Which to pick


Plugin 101 playlist: https://www.youtube.com/playlist?list=PLGfKZJVuHW91zln4ADyZA3sxGEmq32Wse
Sublime Text Live! playlist: https://youtube.com/playlist?list=PLGfKZJVuHW92B7_-cAeEOLshx1nUm513v

Chain of Command and MultiCommand: https://youtu.be/OEzEs9vAz_8
Macros in Sublime Text: https://youtu.be/X0Xb5XjbstQ
Key bindings in Sublime: https://youtu.be/JLRKpr_TKCU
What is context in key bindings: https://youtu.be/Vl8WLZ3EmOc


Sublime Configuration: https://git.io/fARZ9
Official Documentation: https://www.sublimetext.com/docs/3/
Community Documentation: https://docs.sublimetext.io/
Sublime Forum: https://forum.sublimetext.com/
Sublime Discord: https://discord.gg/HcmwdVK


Watch live streams: https://www.youtube.com/c/OdatNurd/live

#SublimeText #Tutorial #SublimeText4

Subscribe for more videos: https://www.youtube.com/c/OdatNurd?sub_confirmation=1
I also stream on Twitch: https://twitch.tv/odatnurd
Follow me on Twitter: https://twitter.com/OdatNurd

sublime textsublime text 3sublime text 4

Post a Comment

0 Comments