Stage 1: U c-r [secondary memory: Undo redo] Hey, Tom, my sister deleted important things. What should I do? Solve the problem by u in normal mode! Not enough? 3u 6u 10000u thank you ~ White, u pressed a few more, undo too much ~ Then c-r will be back! Stage 1: U is a capital u with profound skill! Here is the description of the vim document (this command is not easy for me, so I won't say much here, so I cannot mislead everyone): For Undo/Redo, the "U" command is the same as other commands. So "U" can undo a "U" command, 'ctrl-R' can also redo to undo the "U" command. When the three commands "u", "U", and 'ctrl-R' are used together, you will notice that the "U" command is determined to be restored to the status before the previous "U" command. This may confuse you. Try more and you will get used to it. The "U" command always marks the buffer as changed. This is true even if it retries the modified buffer to a State that has not changed. Therefore, the buffer zone can be correctly restored to the unchanged flag only by using the "U" command.
Unless stated, the article of the White Rabbit software application (www.alittlerabbit.com) is original. repost the article in the form of a link to indicate the address of this Article
Address: http://www.alittlerabbit.com/sitecontent/vim%E4%B9%8B%E6%92%A4%E9%94%80%E4%B8%8E%E9%87%8D%E5%81%9A