On Friday, November 16, 2012 4:36:29 PM UTC-6, Bill Waters wrote:
> I have been using Vim for years, and this is a first.  It is hanging on a 
> Win7 PC.  When it happens, the CPU gets pegged and I have to forcibly kill 
> Vim.
> 
> 
> 
> With this code snippet, it always happens when I type the '=' at the end of 
> the line below.  (I blanked out my variables names in this code example.  
> That doesn't have an effect on the problem.)
> 

Is this C code or something else?

Do you have your 'foldmethod' set to "syntax"? (I did not see an attachment).

Vim has problems with syntax folding taking a long time to update, especially 
while you type in insert mode, although I've not seen it "hang" Vim before. Try 
setting foldmethod to "manual" if it is currently set to "syntax" to see if the 
problem goes away. If so, try this:

http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text

As for stopping it, if you have NOT mapped CTRL-C to something else (I sure 
hope you haven't), you can interrupt many actions simply by pressing CTRL-C.

Finally, if none of the above helps:

Can you reproduce without your _vimrc and customizations, by launching Vim with 
gvim -N -u NONE -i NONE -U NONE ?

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

Reply via email to