Re: Triggering abbrevs

2008-01-08 Fir de Conversatie Andy Wokula
Ben Schmidt schrieb: The builtin Escape key already expands abbrevs. Isn't this like a part of its definition? If I put esc on the right side of a noremap, I do this in order to get this builtin behaviour. I disagree. If *I* put Esc on the right hand side of a mapping I do it to get the

Re: Triggering abbrevs

2008-01-08 Fir de Conversatie Ben Schmidt
Of course an abbreviation given in the {rhs} of a :noremap is not to be expanded, just like any other user mapping. My example :ino esc esc targets an abbreviation that is not part of the mapping, but already to be found in the text. That makes sense. I didn't realise you were

Triggering abbrevs

2008-01-07 Fir de Conversatie Andy Wokula
There are some odd details about how abbreviations get triggered: (abbrevs like :ia foo bar ) 1. abbrevs are not triggered by a mapping when remapping is off: abbrevs not triggered: :ino esc esc :ino esc c-]esc abbrevs triggered as expected: :imap esc esc :imap esc c-]esc| careful,

Re: Triggering abbrevs

2008-01-07 Fir de Conversatie Ben Schmidt
1. abbrevs are not triggered by a mapping when remapping is off: abbrevs not triggered: :ino esc esc :ino esc c-]esc abbrevs triggered as expected: :imap esc esc :imap esc c-]esc| careful, endless loop I'd like to have abbrevs expanded in all situations. I think that could

Re: Triggering abbrevs

2008-01-07 Fir de Conversatie Andy Wokula
Ben Schmidt schrieb: 1. abbrevs are not triggered by a mapping when remapping is off: abbrevs not triggered: :ino esc esc :ino esc c-]esc abbrevs triggered as expected: :imap esc esc :imap esc c-]esc| careful, endless loop I'd like to have abbrevs expanded in all situations.

Re: Triggering abbrevs

2008-01-07 Fir de Conversatie Ben Schmidt
The builtin Escape key already expands abbrevs. Isn't this like a part of its definition? If I put esc on the right side of a noremap, I do this in order to get this builtin behaviour. I disagree. If *I* put Esc on the right hand side of a mapping I do it to get the builtin behaviour of