When using the LaTeX syntax, I would like to press "
and then ST3 would turn that into
``$SELECTION$0''
if scope is text.tex.latex
and the preceding character is not \
but I canât figure out how. What I have now is
{
"keys": ["\""],
"command": "insert_snippet", "args": {"contents": "``$SELECTION$0''"},
"context": [
{"key": "selector", "operand": "text.tex.latex", "operator": "equal"}
]
}
I would think that adding
{"key": "preceding_text", "operator": "not_regex_match", "operand": "\\", "match_all": true },
under context
would fix it but apparently it doesnât. Any tips?