On Tue, 12 Jul 2011, Ben Fritz wrote:
On Jul 12, 2:46 pm, Paul 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.
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.
See:
:help v_b_I
:help v_b_A
It explains that the difference is intentional. The text was there as
far back as Vim 7.0aa. (first version in hg repo, AFAICT)
--
Best,
Ben H
--
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