Bug#422575: Change in CTRL-C behavior with visual block mode
James Vega
jamessan at debian.org
Wed Sep 19 19:19:41 UTC 2007
Bram,
Starting in 7.0 there was a slight bug introduced with the behavior of
using <C-c> to end a visual block insert. This can be seen via:
vim -u NONE -N
4iX<Esc>
yyp
<C-v>kIy<C-c>
The y is only inserted on the first line. Now, the weird part is that
<C-c> reverts back to the expected behavior if you change the above
steps as follows:
vim -u NONE -N
:map <C-c> <nop>
:unmap <C-c>
4iX<Esc>
yyp
<C-v>kIy<C-c>
What <C-c> is mapped to doesn't matter. For some reason, the simple act
of having mapped <C-c> at some time previous to performing a visual
block insert causes <C-c> to act as expected.
James
--
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/20070919/ce6137bd/attachment.pgp
More information about the pkg-vim-maintainers
mailing list