Thursday, January 28, 2016

Re: insert deselects rectselection

On Thursday, January 28, 2016 at 4:57:50 AM UTC-6, christoph.kliemt@pgxml.net wrote:
> Hi,
>
> i select a rectangular region with Ctrl-v and some cursor movement
> commands.
> Next, i want to append some chars to every column of the rectangle
> typing A.
> This puts vim into insert-mode (as expected), but unselects the region
> (not expected) so that the insert command only affects the line where
> the cursor is.
> Is this the expected behaviour?
>

It's expected that the visual block goes away, and your edit will only appear on a single line while you are in insert mode.

But when you hit <Esc> to leave insert mode after appending your text, the change should get applied to every line anyway. Doesn't this happen for you?

> I use:
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 28 2016
> 11:25:03) Included patches: 1-1187
>
> On a linux box in a gnome-terminal 3.4.11
>

Works for me in Windows, with 7.4.977

Looks like it's time for me to pull some new changes...I seem to be over 200 patches behind :-)

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: