[ltp] Less responsive input (blind typing) when running off battery

Yves-Alexis Perez linux-thinkpad@linux-thinkpad.org
Wed, 17 Aug 2011 10:33:05 +0200


On mer., 2011-08-17 at 05:20 -0300, Henrique de Moraes Holschuh wrote:
> > I'm wondering if this might have something to do with the hard drive
> > being in some power saving mode where it spins down more frequently
> 
> Yes, it does.  vim can be nasty like that.  I am not sure how to work around
> it, it seems related to the vim swap file though.
> 
Yes, vim syncs the swap files to disk after writing to it.

You can tune/disable the swap files with updatecount (200 chars by
default) and updatetime (4000 ms by default). See :help swap for more
info.

Regards,
-- 
Yves-Alexis