Surround templates
Surround templates allow you to take advantage of the Surround With action. An example of an in-built Surround With (Command/Ctrl + T) template is the try / except block:

You can see that there are a few live templates that I can use since I've made them myself. The key to using surround templates is using the SELECTION
variable. Here is a simple demonstration:
