Well, I'm under Mac OS X and I use TextMate 1.5.11 to compile LaTeX documents. But I've found that Sublime Text 2 has some features I like more than TextMate (and also TM v2, which is in beta). TextMate 2 has some of that features, but it's still buggy.
So, I would like to move to ST2, but there is only one thing which stops me. In TM there are four very different ways of understanding the snippets:
- True snippets which you introduce with
tab
key after writing a word. (i.e. if you writemat
and then presstab
you get the basic matrix environment) - Commands based on the word (i.e. if you write
frac
then you get\frac{$0}{$1}
) - LaTeX symbol based on current word (i.e. if you write
a
then you get\alpha
, and if you press again, in some cases, it becomes cyclic with more than one symbol) - Environment based in current word (i.e. if you write
document
and you press the keys assigned your get\begin{document} $0 \end{document}
)
But in ST2 you only can press tab
. I wold like to differentiate this four cases. Is there an easy way of setting Sublime Text up this way? (I know nothing about programming)