Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to Undo and Redo in Vim / Vi

Tags: undo redo

Sometimes, when editing a file, you may delete a wrong line or change your mind about an edit, and you’ll want to revert the changes. This article explains how to Undo and redo changes in Vim / Vi. Either Vi or Vim is installed by default on macOS and almost all Linux distributions. Knowing the basics of Vim might be very useful when you encounter a situation where your favorite editor is not available.



This post first appeared on Linuxize, please read the originial post: here

Share the post

How to Undo and Redo in Vim / Vi

×

Subscribe to Linuxize

Get updates delivered right to your inbox!

Thank you for your subscription

×