VIM refresh screen or fix rendering

Viewed 25

When I ssh into an account for hosted website and use vim to edit files; I see strange behavior.

  • Let's create file with one number (01 to 25) on each line.
  • Change line 15 from "15" to "15 15 15 15"
  • Change the size of xterm window so that only 10 lines are visible.
  • Position cursor on first line of file.
  • Press PgDn then PgUp.
  • On line "07" I see "07 15 15 15" yet only "07" is really in the file!
  • If I use up/down arrow to move many lines away and then back again; everything is fine; but this is annoying.
  1. Is there a command that will "refresh" the vim screen?
  2. is there a command line option to "fix" this behaviour?
  3. Is there a way to permanetnly fix this behaviour for my account on this remote system?
0 Answers
Related