linux vi jump to a specified number of rows

Just use vim, I found the cursor jump to a specific line is very convenient.

  1. For example, we want to jump to 80 lines of the file, enter the following command

    80gg

  2. Gg may also be used instead of G

    80G

  3. Can also enter: n, representatives of the n-th row jump,

    :80

  4. We know that this command is to jump to the first line

    gg

  5. The following command to jump to the last line

    G

Original link: https: //blog.csdn.net/u011068702/article/details/53998025/

Published 60 original articles · won praise 73 · Views 230,000 +

Guess you like

Origin blog.csdn.net/tyyking/article/details/102620892