redo VIM Command
How to use redo Command in Linux VIM editor?
Ctrl + r stands for redo
This command is used to redo the undone changes in the editor. If you have performed the undo for more number of times then you can redo it using this command.
Ctrl + r
- Open the file test.txt using the command
$ vim test.txt
- The text in the file is
- Move the cursor to second line and delete that line.
- To undo the deletion
- To reverse the operation, use the redo command.