jojo
jojo

Reputation: 315

Is there a command to jump Nth line from current line?

e.g. jump to 4000 line when I on 3000 line. maybe some command like

:goto next 1000G

Upvotes: 4

Views: 3017

Answers (1)

Madness
Madness

Reputation: 2726

There are 3 ways to go directly to line 4000:

:4000

4000G

4000gg

Or you can jump down 1000 lines like this:

1000j

Credit to Lieven Keersmaekers, you can also jump down like so:

:+1000

Upvotes: 9

Related Questions