Saturday, January 9, 2010

Re: Fwd: exclusive vs. inclusive actions and selection

> John Little cannot duplicate the behavior on 7.2.284, but I see it on
> 7.2.320 on Windows gvim launched with -N -u NONE.
>
> If it isn't clear, I had to :set selection=exclusive to see the
> puzzling behavior. I assume he did this.

Well, I thought I had. I checked my setting of the selection option,
and read it clearly as 'inclusive', which I decided is what you said.

However, now with selection=exclusive, I see what you report. With
^ve, the cursor is placed beyond the end of the word, even though
there's nothing there, and even with virtualedit blank. I see this
is according to the help for 'selection'.

It's like g_ is being treated as an exclusive motion when visual mode
is used.

Regards, John

No comments: