Type in edit mode
ngg or nG
n is the specified number of lines (such as 25)
25gg or 25G Jump to line 25.
Enter the line number n in command mode
: n
Jump if you want to open the file
vim +n FileName
View the line where the cursor is of course
Ctrl+g
Skip to last G