What is the command to skip to the first and last lines in vim
This article mainly introduces "what is the command to skip to the first line and the last line in vim". In daily operation, I believe that many people have doubts about the command to skip to the first line and the last line in vim. The editor consulted all kinds of materials and sorted out a simple and useful method of operation. I hope it will be helpful to answer the doubt of "what is the command to skip to the first line and the last line in vim?" Next, please follow the editor to study!
Bottom line command mode
: 0 or: 1 skip to the first line of the file
: $skip to the last line of the file
Command mode
Gg jumps to the first line
Shift+g skips to the last line of the file
At this point, the study on "what is the command to skip to the first line and the last line in vim" is over. I hope I can solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!