Monday, November 19, 2012

Re: Vim 7.3 hanging on Win7 PC

On Monday, November 19, 2012 2:40:48 PM UTC-6, Bill Waters wrote:
> >
> >Do you have your 'foldmethod' set to "syntax"? (I did not see an attachment).
> >
>
> I don't have a 'foldmethod' setting in my _vimrc, and when I do a ":set
> foldmethod" it says that it is set to "manual".
>
> >
> >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.
>
> CTRL-C does free it back up. I should have thought to try that.
>
> >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 ?
>
> Below is my _vimrc.
>

I don't see anything in your _vimrc that I think should cause a problem. Did you
try without your .vimrc and plugins as I suggested? What happened? There may
still be a plugin interfering even if it isn't the .vimrc. It may particularly
be a C filetype plugin, if you don't notice this sort of thing in other file
types.

While I didn't notice any obvious causes of this slowdown in your .vimrc, I am
curios why you have this:

> set nobackup
> set nowb
> set noswapfile

While setting nobackup makes sense if you're working on version controlled code,
and probably unnecessary if you've got persistent undo turned on, I don't know
of any good reason to turn off writebackup. swapfile is likewise a good option
to leave on, or else you lose out on data recovery if Vim crashes, or detection
of when you accidentally open the file in multiple Vim instances.

Are you editing a file on a network share, perchance?

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

No comments: