On Thursday, December 13, 2012 11:11:26 AM UTC-6, dza wrote:
> I wonder why my Vim is so slow over our Windows samba share - not only 
> opening/closing is slow - also typing and edit/insert commands are slow as 
> well :-commands, plugins, everything.
> 
> Can I tame Vim running on a fileshare? Or make it cache the files locally so 
> it doesn't slow down?
> 
> I've seen alot of suggestions, but none of them seems to do the trick.
> 
> For example:
> 
> nofsync
> ttyfast
> ttimeout
> timeout
> 
> Thank you very much in advance, I would really like to know how I can fix 
> this !

A couple of suggestions:

Move your Vim config (.vimrc, plugins, etc.) off any network share. In my 
experience, my single greatest slow-down in Vim was due to running scripts off 
a network share.

Set your 'directory', 'backupdir', and/or 'undodir' options to a local 
directory. By default swap, backup, and undo files are stored in the same 
directory. This can make editing slow because Vim must peridocially write the 
swap file over the network. 'backupdir' and 'undodir' are less important as 
they only affect file write times. See 
https://groups.google.com/d/topic/vim_use/1ZrWkBj6DKI/discussion for setting 
'directory' differently for different file locations.

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