Hello, I am using Sublime Text 3 with Mac OS X 10.11.
I have created some snippet to be used with latex. For instance I have created this snippet:
<snippet>
<content><![CDATA[
\vert${1:}\vert
]]></content>
<tabTrigger>vert</tabTrigger>
<scope>text.tex.latex</scope>
</snippet>
I would like that if I type
vert, TAB, SPACE, vert TAB
I get
\vert \vert\vert\vert
with the cursor between the two central “\vert”. (NOTE: I have to type SPACE because otherwise I will be trying to trigger a snippet with the word vertvert and not vert).
The problem is that I get this
\vert vert\vert
with the cursor at the end. This because when I press TAB the second snipped does not trigger and the cursor move at the end of the last word created with the previous snippet. Anyone knows how to solve my problem?
Note: pressing TAB in order to go at the end of the snippet is generally useful, except when I need autocompletion inside a snippet, but since if I press CMD+Left Arrow the editing cursor goes at the end of the line I find useless to having multiple shortcuts for doing about the same thing and in a conflicting way!