Hi,

On Wed, Oct 6, 2010 at 1:16 PM, Ben Fritz <[email protected]> wrote:
> I'm using gvim 7.3.18 on Windows XP (the "Cream" build, without
> Cream).
>
> The behavior specified just below :help <LeftRelease> has no effect in
> my normal Vim setup. With gvim -N -u NONE, it beeps but has no other
> effect.
>
> E.g. with gvim -N -u NONE, I enter the following text:
>
> aaaaaaaa
> bbbbbbbb
> cccccccc
>
> I start a visual selection that contains the first 4 'a' characters:
>
> gg0v3l
>

You need to an operator (e.g. y) at the end. In the above example, try
using gg0v3ly

- Yegappan

>
> I press v again to end the visual selection, and go to the next line
> to try to select the first 4 'b' characters:
>
> j01v
>
> The '1' is shown briefly at the bottom of the screen, and pressing 'v'
> makes it go away, and Vim beeps. Nothing else happens.
>
> I would expect Vim to instead select the first 4 'b' characters, as
> documented:
>
> If Visual mode is not active and the "v", "V" or CTRL-V is preceded
> with a
> count, the size of the previously highlighted area is used for a
> start.  You
> can then move the end of the highlighted area and give an operator.
> The type
> of the old area is used (character, line or blockwise).
> - Linewise Visual mode: The number of lines is multiplied with the
> count.
> - Blockwise Visual mode: The number of lines and columns is multiplied
> with
>  the count.
> - Normal Visual mode within one line: The number of characters is
> multiplied
>  with the count.
> - Normal Visual mode with several lines: The number of lines is
> multiplied
>  with the count, in the last line the same number of characters is
> used as
>  in the last line in the previously highlighted area.
>

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui