On Aug 10, 2010, at 14:22 , John Beckett wrote:

>> Sometimes I paste some text into the Vim command line
>> (example: type ':echo ' then Ctrl-R a to paste register a).
>> 
>> If I accidentally paste a large amount (kilobytes), I have to
>> wait a very long time (several minutes) while Vim struggles
>> to handle the text. Pressing Ctrl-C has no discernible effect.
> 
> Some investigating shows that removing the following call to
> redrawcmd() fixes the problem (this is not a solution, just
> a preliminary observation):

Are you by any chance using MacVim? I had this problem with MacVim and raised 
it in the MacVim list. Here is how that conversation went:



> On Jul 4, 2010, at 3:46 PM, björn wrote:
> 
>> On 4 July 2010 13:13, Andy Block wrote:
>>> On Jul 4, 2010, at 12:58 PM, björn wrote:
>>> 
>>>> On 3 July 2010 21:25, Andy wrote:
>>>>> 
>>>>> I have one major annoyance with MacVim, which I'm surprised I can't
>>>>> find anyone else mentioning. Specifically, on a semi-regular basis, I
>>>>> copy a large amount of text from, e.g., a terminal session, switch to
>>>>> vim, paste it, and - bang! I discover I was in command line mode and
>>>>> as a result I am in for a long wait.
>>>> 
>>>> Ouch!  I was not aware of this problem.  Fortunately there is an easy
>>>> fix: use Cmd-. instead of Ctrl-C to interrupt.
>>> 
>>> Thanks for you quick response, and suggested workaround. However, Cmd-. 
>>> also does not appear to interrupt for me. Did you confirm that it worked 
>>> for you? Would this behaviour depend on any configuration, or the setting 
>>> of some option? Thanks again,
>> 
>> Yes, I did confirm before posting.  Which version of MacVim are you
>> using?  You should be using a snapshot, or the 7.3a BETA [1] -- the
>> stable build is probably too old.  No configuration option will affect
>> Cmd-. (it is hardwired).
> 
> Ah - that'd be it then. I should have mentioned before that I am indeed using 
> the last stable build (7.2). I'll have a go with something more recent then. 
> Thanks again, regards,
> 
>       Andy


Hope that is helpful! Regards,

        Andy

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui