views:

232

answers:

3

I use gvim pretty heavily at work, typically logged into a server farm. This works great while I'm directly on the corporate LAN, but when I VPN in from home and resume my sessions, gvim scrolls almost intolerably slow.

Every time I page up or down, the scrolling does a lot of unnecessary screen refreshes before it gets to the final spot.

I remember browsing other people's vimrc's and seeing a setting to help with this, but I don't remember what it is. I have ttyfast already set. Is there anything else?

I know this is mostly due to the VPN, but with a little tweaking, hopefully it can get better.

+2  A: 

You might want to try the different tips given in :help slow-terminal.

For instance, the scrolljump setting can help reduce the number of screen refresh when scrolling. I have also found set nowrapto be useful, even on fast terminal when handling files with very long lines.

tonio
+2  A: 

If you're not doing this already, you should at least be using CTRL+U and CTRL+D to scroll around, and I believe you can use the 'scroll' option to make CTRL+U and CTRL+D scroll a custom distance.

too much php
+3  A: 

If possible, I would consider using console vim. Easier to pull over multiple hops.

wom