![]() ![]() Then delete the second line with the vi dd command, you can then undo this change by typing the letter u while still in command mode. For instance, if you start with this text in your editor: ![]() You “undo” changes in vi and vim with the undo command, which is the u key when you are in vim command mode. vim undo (how to undo a change in vi/vim) Solution: Undo changes in vim with the u command in command, and redo changes using the keystroke. Vi/vim editor FAQ: How do I undo and redo changes in the vi and vim editor? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |