Hi, this seems to be a strange interaction with the IMAP-features of the latex-suite.
I tried :iab a (m) :iab m [a] Now, a<space> => (m) a<s-space> => ([a]) Here, first a is expanded to (m) and the inner m is expanded to [a]. If one uses let Imap_FreezeImap=1 <space> triggers no expansions, but <s-space> works correctly. I have no clue how to fix this. Best regards, Gerd On 09/30/2014 11:38 AM, Luca Innocenti wrote: > Hi I noticed the following behaviour which I didn't find documented > on the guide. It only happens with gvim (not with vim), on .tex > files, hence I guess is due to vim-latex. > > Defining an insert-mode abbreviation with (for example) > > :iab m <m> > > I get the expected behaviour writing in insert mode > > m<space> > > However, if I use <shift>+<space> instead of just <space>: > > m<shift><space> > > I get the "container" characters to be doubled: > > m<shift><space> produces <<m>> > > This seems to work with any "container" characters, like e.g. > > :iab m \m\ :iab m \(m\) :iab m £%m£% > > It doesn not happen with letters: in > > :iab m ama > > the "a" is not doubled. > > Is this a feature? If yes, where is it documented? > > Thanks > > > > ------------------------------------------------------------------------------ > > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS > Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download > White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with > EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > > > > _______________________________________________ Vim-latex-devel > mailing list Vim-latex-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel