I have these abbreviations in my
iab seq sequent iab seqs sequents
seqs expands to
sequents i seq sequent
in a tex file (I have installed vim-latex).
In an empty buffer
seqs expands correctly to
sequents. How could I get the correct expansion in a tex file?
I addition, abbreviations are not expanding at all in a line of a tex buffer, if, e. g., left movements of cursor were made in that line.
I've noticed that all abbreviations work correct in a .tex buffer if triggered with Tab or CR. One simple way out is
imap <f2> <Tab><BS> " One space after <BS> in f2 imap <f3> <Tab><BS>
and trigger abbreviations with f2 or f3. Please let me know if you find ` better solution.