如何在 Vim 中交叉重做,即在撤消后进行一些编辑后重做更改?

How to cross-redo in Vim, i.e. redo the changes after made some edit after an undo?

在 vim 中,如何在撤消后进行一些编辑后重做更改?

例如,我输入asdf!,得到asdf!。然后我执行了撤消并键入 ? 得到 asdf?.

有没有办法使用 undo/redo 获得 asdf! 状态?

:earlier 为所欲为。参见 :help undo-tree