How can I insert a literal $1
in a snippet, using snipMate? I could not find that information in the manual…
Results in nothing (tries to find a placeholder):
snippet s
$1
Result in $
only:
snippet s
$$1
I found a workaround. Use $${0:1}
. SnipMate doesn't interpret ${0}, but seems to insert the default text instead.