Sublime Forum

Change default snippet inserted on tab

#1

I’m sure this has been covered before, but I can’t seem to find a reference to this anywhere:

I want to change the default snippet that comes up when I hit tab on a file. I’m currently using an HTML (Django) syntax, and I want var to give me {{ | }}. There is a snippet for this in my system, but the normal tab action is to give me | (which I never use). Basically, if I want the django variable I have to type “var”, hit ctrl+/, select the django context var and hit enter. What’s funny is that the context var I want is always the first item highlighted.

So my question is: how do I change the default snippet used when I expand a text selection with tab, and how do I find which package is causing the unwanted snippet in the first place?

0 Likes