On Jul 12, 5:25 pm, Ben Fritz <[email protected]> wrote:
> On Jul 12, 2:46 pm, Paul <[email protected]> wrote:
>
> > I'm using Vim 7.1 for Windows.  For some reason, I have been
> > conditioned to expect the following behaviour, which I no longer get.
>
> You should update your Vim. Vim is now on 7.3 with over 200 patches.
> Nevertheless...
>
> > when I press Ctrl-V at (say) text column 5 and cursor down, a 1-
> > character wide column is highlighted.  When I press "I", I can insert
> > text (say, "dog") and that text will appear in text columns 5-7 on
> > every row that was highlighted, including rows that had no text nor
> > whitespace.
>
> > What I currently observe is that the inserted text does not show up on
> > empty lines crossed by the highlighted 1-character-wide column.  Am I
> > just mis-remembering how this works, or is there a switch that enables
> > the behaviour I described above?  I have virtualedit set to all.
>
> I can confirm this behavior on 7.3.170. To make matters more
> interesting, if you use A instead of I, it works as expected.
>
> I started with gvim -N -u NONE -i NONE and entered text:
>
>  apples
>     grapes
>
> bananas
>
> I then set virtualedit=all and move the cursor past the end of line 1.
> Typing Idog in visual block mode yields:
>
>  apples       dog
>     grapes
>
> bananas
>
> Typing Adog yields (as expected):
>
>  apples        dog
>     grapes     dog
>                dog
> bananas        dog

Thanks. I'll use A from now on when I need it.

-- 
You received this message from the "vim_use" 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

Reply via email to