How do I do redo (i.e. “undo undo”) in Vim?

后端 未结 10 600
花落未央
花落未央 2021-01-29 16:53

In Vim, I did too much undo. How do I undo this (that is, redo)?

10条回答
  •  南笙
    南笙 (楼主)
    2021-01-29 17:32

    First press the Esc key to exit from edit mode.

    Then,

    For undo, use u key as many times you want to undo.

    For redo, use Ctrl +r key

提交回复
热议问题