rzyns / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

MacVim UI is very slow when working directory is on a slow file system #416

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Mount a slow network drive to /test, for example over your company's VPN 
connection. Launch MacVim, navigate to a directory inside /test and edit a file 
that lives somewhere in /test. Browse the file using mouse and navigation keys.

What is the expected output? What do you see instead?
UI slows down according to how slow the mounted network drive is. The slow down 
can be as significant as hundreds of milliseconds for every mouse click inside 
the MacVim window.

What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?
MacVim snapshot 64, OS X version 10.7.4

Please provide any additional information below.
Here is a workaround. Change the current working directory of MacVim to a 
normal location, e.g. ":cd /tmp<Enter>". Then the UI becomes responsive again.

Original issue reported on code.google.com by lsni...@gmail.com on 24 Jul 2012 at 8:27

GoogleCodeExporter commented 9 years ago
I have seen this topic pop up on the vim_use and vim_mac Google groups before.  
If memory serves me right another way to work around these issues is to make 
sure Vim doesn't write temporary files (like swap files) to the remote drive.

Original comment by bjorn.winckler@gmail.com on 27 Jul 2012 at 12:10

GoogleCodeExporter commented 9 years ago
I'm seeing this same issue with MacVim 7.4 on Mac OS X Mavericks 10.9.2. I've 
set `backupdir`, `directory` and `undodir` to a local volume. Any tips how I 
can help troubleshoot this issue?

Original comment by sjackman on 30 Apr 2014 at 10:58