Sublime Forum

Snippets -> could be triggered by several keys?

#1

Hi All,

Is this possible to write a snippet such way so that it will be triggered by several keys?

E.g. it will be triggered by and also by ?

Don’t so “write two same snippets with different keys” :slight_smile: I mean, is this possible to define different trigger keys inside the same snippet?

Thank you!

0 Likes

#2

This is not possible, no; each snippet supports only a single <tabtrigger> tag to specify the trigger.

0 Likes