top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to undo and redo changes in vi/vim editor?

+1 vote
541 views
How to undo and redo changes in vi/vim editor?
posted Feb 26, 2016 by Vijay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

You can use u for undo and ctrl+r for redo, you can also go through this link to get all available undo and redo commands...
http://vimdoc.sourceforge.net/htmldoc/undo.html

answer Feb 26, 2016 by Shivam Kumar Pandey
Similar Questions
–1 vote

I have a large file which has "some string"so many times, i want it to be replaced with "other string" at all places, using vi or vim editor?
Is there any way to do that?

...