PDA

View Full Version : Vim Scrolling Problem



gniss
March 4th, 2010, 01:22 AM
Sometimes plain old 'vim filename' works fine.

However other times CTRL-F and CTRL-B don't work correctly; they scroll one line at a time rather than one screen.

Any idea what is going on and how to fix?

dwhitney67
March 4th, 2010, 01:55 AM
I've never heard of this problem, nor witnessed it myself. Perhaps there is something set in your ~/.vimrc file that is causing this?

If you think this may be the cause, temporarily rename your .vimrc to another filename (eg. .vimrc.bak), and see if the problem you have described continues.

gniss
March 4th, 2010, 02:14 AM
Thanks, I tried that but it didn't fix it. I am doing this to a server through SSH, maybe that and the fact that it is intermittent is a clue.

LKjell
March 4th, 2010, 07:43 AM
Should be the server's vimrc not yours then. What about space bar does it scroll?