Repeat command.:
This command can repeat the previous operation. For example, you perform a DD operation, and then. It will delete the forward
There is also a single operation between the changes from Insert mode to exit Insert mode. For example, you performed a
I AAA <Esc>
Then you execute. You'll be inserting the AAA character again.
This command can repeat the previous ex command.
For example, you performed a:/AAA operation, and then you edited a line of code BBBB
At this point if you execute @:, you will find that it executes:/aaa command
Repeat Command &
This command can be used to repeat the last: substitute command
When we executed the command: S/AAA/BBB/C
Then we do the other things, and then we execute the & and we execute the S/AAA/BBB/C.
We can use the command if we want to rewind the action
If we want to undo the fallback, we can use
<C-r>
We use F or T to search, by pressing the
; next
We can select the next search result with the cursor
Last
You can return the cursor to the previous search result
The repetition of the basic learning of VIM