> On Thu, 18 Aug 2011, John Magolske wrote:
>
> >When using Vim, I observe a write to disk upon every single
> >keypress. Every single time I press a key the HD light blinks.
> >When I start Vim like so:
> >
> > vim --noplugin
> >
> >...I notice this is not the case. I'm guessing a particular plugin
> >may causing this "write with every keypress" behavior...how might
> >I go about discovering the cause?
>
> Since it doesn't happen when plugins are disabled, it sounds like
> one of your plugins is using one of the { CursorHold, CursorHoldI,
> CursorMoved, CursorMovedI } autocmds, perhaps with a really low
> 'updatetime' setting.
Thanks everyone for the suggestions. I grepped ~/.vim/plugin for
"Cursor", then one at a time moved each plugin containing an instance
of CursorHold, CursorMoved, etc. elsewhere until I discovered the
culprit -- an old version (0.15) of buftabs. After updating to version
0.18 (happy to see several improvements...great plugin) the "write to
disk on every keypress" issue went away.
Reminds me of the need to go through my plugins on a more regular
basis and periodically update/cull etc.
Regards,
John
--
John Magolske
http://B79.net/contact
--
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:
Post a Comment