vi / vim: Jump To End Of File Command vi 如何跳到最後一行

vi / vim: Jump To End Of File Command

You can save a lot of time by using appropriate movement commands in vi or vim text editor. For large file the cursor keys are not the best choice. To move to end of file just type G (press ESC and type capital G):vim

 

You can jump back to beginning of file by typing any one of the following command
1G
OR
gg
You can jump to line number 700 (press ESC type 700G)
700Gapi

相關文章
相關標籤/搜索