Subject Govindachar wrote:

> Hello,
> 
>   Is this a bug, or is it something that cannot be fixed?
> 
>   1) gvim.exe -u NONE -U NONE --noplugin
>   2) :set smartindent tw=40 fo=tcq
>   3) Type text -- at least, say, 60 characters.
>      Vim will insert linebreaks.
>   4) Join the pieces to have a single long line
>   5) yyp to get two lines each with 60 or more characters. 
>   6) move the cursor to, say, 50th column on first line.
>   7) <ctrl-v>, select a two-line block, say 2x2
>   8)  hit c and type mymy 
> 
>   Expect: selected two line block will become:
> 
>                      mymy
>                      mymy
> 
>   Issue:  the first line breaks and only it gets mymy;  
>           second line remains as-is. 

Well, if you type beyond 'textwidth' the line will be broken.  When in
Visual block mode a line is broken Vim doesn't know what you wanted to
do, it's difficult to figure out what you actually typed (keep in mind
you can use mappings, functions, completion...).

So, if you want to get that block with two lines, make sure 'textwidth'
is zero.

-- 
GALAHAD:   Camelot ...
LAUNCELOT: Camelot ...
GAWAIN:    It's only a model.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         ///

Reply via email to