Loading ...
Sorry, an error occurred while loading the content.

***SPAM*** Re: Why vta doesn't work when a is one character away?

Expand Messages
  • dtsfan@citiz.net
    Oh, yes, I am using :behave mswin. Now it is all right when using :behave xterm. ... From: BillMcCarthy To:
    Message 1 of 1 , Nov 28, 2006
    • 0 Attachment
      Oh, yes, I am using :behave mswin. Now it is all right when using :behave xterm.
      ----- Original Message -----
      From: BillMcCarthy<WJMc@...>
      To: A.J.Mechelynck<antoine.mechelynck@...>
      Sent: 2006-11-28 12:04:54
      Subject: Re: Why vta doesn't work when a is one character away?

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

      > dtsfan@... 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
    Your message has been successfully submitted and would be delivered to recipients shortly.