Wrap parentheses/brackets around a selection of code

Hi everyone,

Does anyone know how to wrap parentheses/brackets around a selection of code?

Mosh did this during the following video at 4:25:

This is really neat feature and saves time, but unfortunately I haven’t found out how to achieve that.

Thanks for your help

Simply select the code you want to wrap then type the open brace/bracket/parenthesis that you want…

Thank you very much, I was able to do it now. Not sure what I did wrong during my first tries. Have a good 2021.