How is the undo tree used in Vim?

前端 未结 8 632
面向向阳花
面向向阳花 2020-12-22 14:53

This answer says:

Vim\'s undo/redo system is unbeatable. Type something, undo, type something else, and you can still get back the first thing you typed

相关标签:
8条回答
  • 2020-12-22 15:55

    A lot of this is summed up here:

    http://vim.wikia.com/wiki/Using_undo_branches

    0 讨论(0)
  • 2020-12-22 15:56

    If you're using vim, you can navigate through the undo tree using:

    • u: (undo) move back in the undo tree
    • Ctrl+R: (redo) move forward in the undo tree

    Other ways of bringing document back or forward in time:

    • :earlier 15m: move back in time 15 minutes
    • :later 15m: move front in time 15 minutes
    0 讨论(0)
提交回复
热议问题