James Raitsev
James Raitsev

Reputation: 96391

How to scroll 'n' lines in vi?

Say you are scanning a huge log and CTRL-F simply does not cut it. Can you move down predefined number of lines, say 500? How would you do it?

Upvotes: 1

Views: 228

Answers (1)

nos
nos

Reputation: 229108

type 500j

j moves one line down, and as usual you can repeat a command N times by a numeric prefix

Upvotes: 5

Related Questions