$ VIM Command
How to use $ Command in Linux VIM editor?
Explanation
This Dollar command is used to move the cursor to end of the line.
Usage:
$
Example:
- Open the file test.txt using the command
$ vim test.txt
- You can view that the cursor is now focused on the word 'largest'.
- To move the cursor to end of the current line
Press $
- To move the cursor to last line of the file
Enter :$