in vim if I set
iabbrev @@ mail@myMail.com
when I write in insert mode @@<space> vim replace @@ with mail@mimail.com.
When I write a tex file and I use a single letter in Upper (A,B,…) this letter should be between $ ($A$, $B$, …)
How I can make a iabbrev for this ?
I think in some similar to this
ia <space>[A-Z]<space> <space>$[A-Z]$<space>
Use a
forloop to create 26 abbreviations: