This is really weird. Everytime I type in the insert mode I hear the sound of disk access. And this is not the case with gedit. My system is ubuntu 10.10. Any idea?
It's probably the swap file. To find the name of the swap file being used for the current Vim buffer, execute
Then, to test whether that file is being modified with every keystroke, you could open another terminal window and execute
where swapfile is the file name returned by the
BEGIN EDIT: Having tried the above, I see that
The time between updates of the swap file is set by the 'updatetime' option, whose value in milliseconds you can determine by executing
Unfortunately, that same timer is used to trigger CursorHold autocommands and some plugins set 'updatetime' to around 100 milliseconds to respond quickly after user keystrokes. If you find that 'updatetime' has a value less than its default of 4000, you could execute
to find out where it is being set. Then you can decide whether the feature provided by whatever plugin is setting it is worth the annoyance of continual disk accesses.
You probably have your disks setup wrong. Any activity in vim will update the swap file, but this information should not be flushed to disk except periodically. The default disk and vim configuration in 10.10 should not cause this behavior, so you should reconsider any optimizations you made to your system config.