On 20/04/11 5:33 PM, Martin Lundberg wrote:
It seems to be cause I was editing a file over a sshfs mount because if I open 
up
a local file it's just as fast. Should that really affect the movement inside a
buffer?

It shouldn't, no....

But IIRC there is a 'bug' or something like that where a CursorMoved autocommand or something like that was triggering an fstat or something like that for no apparent reason. My guess is that Vim is checking whether the file changed externally, which can sometimes happen as the result of an autocommand, but it's too heavy handed and is doing this for all autocommands, not just ones that call external programs somewhere. And CursorMoved gets called LOTS, of course.

Perhaps see if doing something like

   :set ei=all

fixes the problem. Of course, doing this will break other things, but it at least might help test the theory. If that is indeed the problem, it can probably go on the to-do list of things to fix....

Ben.


--
You received this message from the "vim_mac" 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

Reply via email to