I was creating snippets for the first time and noticed that tab triggers appear to be acting weird.
Case in point: a snippet to create a new frame in LaTeX (beamer), saved in my Packages/User folder as LaTeX_Frame.sublime-snippet:
- Code: Select all
<snippet>
<content><![CDATA[
\\begin{frame}{${1:Title}}{${2:Subtitle}}
${3:content}
\\end{frame}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>frime</tabTrigger>
<scope>text.tex.latex</scope>
<description>new Beamer frame</description>
</snippet>
I've tried several different values for tabTrigger: it doesn't work with frame or frome, but it works perfectly with frime like in the example and variations like friime, friiime, ...
Obviously this is very strange, since it seems to behave differently depending on which (non-existant) word I choose as a tab trigger. I've googled around a bit, but couldn't manage to find anything useful. Any ideas?
I'm using Sublime v2.0.1, build 2217 on Win7 x64.
Thanks,
Ludo