Bug#422575: vim: Undocumented change in CTRL-C behavior when doing block edits in 7.0

James Vega jamessan at debian.org
Mon May 7 05:06:48 UTC 2007

tag 422575 confirmed

On Sun, May 06, 2007 at 11:58:25PM -0400, Blaise Gassend wrote:
> When I switched to vim 7.0, I noticed that the behavior of CTRL-C when
> doing block edits has changed. Here is a typical sequence:
> <CTRL+V>
> (Select a column)
> I
> type something
> <CTRL+C>
> Previously, hitting CTRL+C in this context would do the same thing as
> hitting escape. Now it only inserts text in the first line of the
> selection. This change of behavior is not documented, so I don't think it
> was done on purpose.

There does seem to be a config option that affects this because my setup
works as one would expect.  The text is inserted on all selected lines.
I'm not quite sure what's different about my setup that makes this work
as I haven't had time to check my various settings.

Testing vim7 without any config and in compatible mode (vim -u NONE -N)
exhibits the behavior you describe with CTRL-C where text is only
inserted on the first line of the visual block.  I've also confirmed
that this is a change in behavior from at least vim 6.3.

GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20070507/742ec696/attachment.pgp

More information about the pkg-vim-maintainers mailing list