In case there are two many undo done, vi (vim) redo can be used.
One redo in vi
Approach 1
[ESC] + [CTR] + r
Approach 2
[ESC] + :undo
Two redo in vi
[ESC] + [CTR] + r [ESC] + [CTR] + r
Undo redo in vi
[ESC] + u
In case there are two many undo done, vi (vim) redo can be used.
[ESC] + [CTR] + r
[ESC] + :undo
[ESC] + [CTR] + r [ESC] + [CTR] + r
[ESC] + u