dot VIM Command
How to use dot Command in Linux VIM editor?
Explanation
Dot(.) operator is used to repeat the last command again and again.
Usage:
dot(.)
Example:
- Open the file test.txt using the command
$ vim test.txt
- The text in the file is
Hiox Software
Vim tutorial
Hiox India
- Move the cursor to second line and delete a letter from that line.
Press x
- To repeat the cut operation (last change)
Press .
- You can see that the cut operation is performed again.