I'm planning to implement some utility mappings for my LaTeX plugin to simplify typing of mathematics. For instance, I want to create abbreviations similar to
`a : \alpha `b : \beta -> : \to => : \Rightarrow
And similar. I want (some of) the mappings only to be available inside math environments, and not outside.
I know that I can recognize math environments through the syntax groups, i.e.
texMathZoneX. However, I do not know how to use this in order to make context sensitive mappings or abbreviations.