* On Thu, May 25, 2006 at 11:02:29PM -0400, Benji Fisher <[EMAIL PROTECTED]> wrote: > On Thu, May 25, 2006 at 03:17:54PM +0200, Luc Hermitte wrote: > > * On Thu, May 25, 2006 at 08:30:52AM -0400, Benji Fisher <[EMAIL > > PROTECTED]> wrote: > > > > > --- fixes and changes since Vim 7.0f --- > > > [...] > > > Prevent that using CTRL-R = in Insert mode can start Visual mode. > > > > Must I understand that the workaround I've found won't work in the > > future ? (the workaround consists in returning > > <c-\><c-n><c-\><c-n>gv<c-g> to i_CTRL-R=) > > AFAIK this will continue to work. The change is what you already > noticed (I think): if <C-R>= calls a function, and that function > changes the mode, that will not be respected. It is OK if the > function returns characters that change the mode. > > You might also have a look at > > :help :map-expression > > I have not played with it yet, but I think the idea is to give a > simpler alternative to certain <C-R>= constructions.
I'd rather not use it for the moment. The plugin, with which I had the problem, does not use any Vim 7 new feature. In a year or so, I'll gradually drop the backward compatibility as new features are implemented, or bug fixed. Thanks for your help Benji. -- Luc Hermitte http://hermitte.free.fr/vim/