I use sublime text to for latex documents. Snippets are very useful for this. However, I would like to have some ‘snippets’ that do not require tab to be used as a trigger.
For example, currently I have snippets so that if I type
infty
then tab, it expands to
\infty
It would be very handy if this could be done without need for the tab trigger.
Moreover, it would be useful if these could be made content aware in the following sense: infty should only expand to \infty if it is within a math mode environment, i.e., $ infty $, $$infty$$, ( infty), [ infty ]