I am trying to expand my snippets. I use Ultisnips
.
ofcourse, I can have
snippet 'a "greek alpha" A
\alpha
endsnippet
and
snippet 'A "greek alpha" A
\Alpha
endsnippet
and both works fine. But, I am looking for something like
snippet '[aA] "greek alpha" A
\[aA]lpha
endsnippet
i.e. if I put 'a
, I will get \alpha
, with 'A
, I will get \Alpha
from same snippet.
Is this possible?