I'm using gvim 7.2 on Windows XP to edit files on a slow USB memory stick. When other programs are accessing the stick, the editor freezes for several seconds at a time.
I have already tried using the "set directory" command to move the Vim swap files to the hard disk. Why is gvim accessing the disk while I'm editing, and what can I do to prevent these freezes?
Update: Using process monitoring tools, I found that the freeze occurs when gvim checks whether file is changed when the window gains focus. Is there anyway to turn that off?