On Mon 27-Nov-06 9:39pm -0600, A.J.Mechelynck wrote:

> [EMAIL PROTECTED] wrote:
>> For example, the word
>> 
>> Cat
>> 
>> When the cursor is on C, and I press vta, the cursor doesn't move.
>> However, if I press
>> vtt, it moves two characters to the right. Is this an intentional design
>> decision or a bug?
>> 
>> I've tried this in both vim 6.4 and the latest version of vim 7.0 on the
>> download page. 

> Works for me with gvim 7.0.168 with Gnome2 GUI on SuSE Linux 9.3, both in GUI
> mode and in console mode
>
> With the cursor on the C of Cat in Normal mode
>
> after vta the cursor is on the C (i.e., one character left of the a), one
> character is visually highlighted as shown at bottom right of the screen. (In
> console mode the highlight color is not noticeable because the only character
> of the Visual selection is at the cursor position.)
>
> after (Esc to clear Visual mode, then) vtt the cursor is on the a (i.e., one
> character left of the t), two characters (Ca) are visually highlighted.

With typical windows settings, select=exclusive (from
:behave mswin).  With that, vta leaves the cursor to the
left of C and zero is shown in the lower right (vfC produces
identical results).  However vtt highlights Ca and two is
shown in the lower right (vta produces identical results).

-- 
Best regards,
Bill

Reply via email to