Hello, I want that $
auto closes (like ()
,[]
,etc), but only in .tex
, .md
and .Rmd
files.
So far, I have this that does the job, but across all file types:
<snippet><content><![CDATA[
\$${0:$SELECTION}\$
]]></content></snippet>
in autopeso.sublime-snippet
, and this as key shortcut:
{
"keys": ["$"],
"command": "insert_snippet",
"args": {"name": "Packages/User/autopeso.sublime-snippet" }
}
How do I modify what I have to achieve what I want? Or do I need an entirely different setup?