Vim and its predecessor Vi are popular command-line based text editors. There is a lot of functionality that the text editor provides. In this post, we will look at how to move cursor end of line and end of the line.
One-Shot End Of Line
We can move the cursor to the end of the line at one shot with a dollar sign
Word By Word End Of Line
Another alternative to moving the cursor to the end of the line is hoping word by word with
e. Every e command will move one word. In order to reach the end of line multiple e keys should be used according to the size of the line and count of the words.
One-Shot End Of File
G the cursor will jump to the end of the file.