如何在 Vim 中撤消一行撤消操作?

如何在 Vim 中撤消一行撤消操作?

u会撤消最后的更改并重ctrlr做它,但U字母会撤消一行上的更改,并且ctrlr不会重做它们。没有ctrlR线路重做键这样的东西吗?

答案1

:h U:

                                                    U
U                   Undo all latest changes on one line, the line where
                    the latest change was made. U itself also counts as
                    a change, and thus U undoes a previous U.

相关内容