开发者

What vimrc settings to speed up scrolling?

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 scr开发者_JAVA百科een 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.


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.


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.


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


Another non-vimrc technique to consider is Windows Control Panel:

What vimrc settings to speed up scrolling?

What vimrc settings to speed up scrolling?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜