On 07/08/2007, Bram Moolenaar <[EMAIL PROTECTED]> wrote:

 > Antony Scriven wrote:
 >
 > > On Jul 16, 3:58 pm, Antony Scriven <[EMAIL PROTECTED]> wrote:
 > >
 > > > On Jul 16, 3:45 pm, Antony Scriven <[EMAIL PROTECTED]> wrote:
 > > >
 > > > > Hi, the stock download for Vim 7.1 on Windows hangs when
 > > > > I do the following.
 > > > >
 > > > > vim -u NONE
 > > > > Qg/^/vi
 > > > > ^C
 > > >
 > > > [...]
 > >
 > > [...]
 >
 > I was wondering what the original Vi does in this
 > situation.  I discovered that when using CTRL-C once it
 > just beeps, thus you stay in Normal mode (Visual mode in
 > Vi terms).  But when pressing CTRL-C twice in a row Vi
 > aborts the ":g" command.  I think that's a real good
 > idea, thus I made a patch to have Vim work this way.

Sounds good.

 > Please try it out and verify it doesn't break anything.
 > [patch snipped]

Thanks, it seems to work well. It doesn't take simulated ^C^C
keypresses into account, e.g. in :normal, in a mapping, or
in a register, but I reckon that would be a very rare thing
to want to do. --Antony

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui