How do I do redo (i.e. “undo undo”) in Vim?
在维姆,我做了太多的撤销。如何撤消此操作(即重做)?
中文名称:CTRL+R
同时检查
奇怪的没有人提到EDOCX1回到你所需要的一切
ZZU1
假设你在前一天最多编辑999999个文件,或者,如果你记得当前UNDO State和Needed One的区别,使用EDOCX1&3,EDOCX1&4,4,4,4,1,5,3,3,0,3,0,3,0,3,0,0,4,5,0,为文件写入而创建的<>EDOCX1>和EDOCX1>8。
VIM文献
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | <Undo> or *undo* *<Undo>* *u* u Undo [count] changes. {Vi: only one level} *:u* *:un* *:undo* :u[ndo] Undo one change. {Vi: only one level} *CTRL-R* CTRL-R Redo [count] changes which were undone. {Vi: redraw screen} *:red* *:redo* *redo* :red[o] Redo one change which was undone. {Vi: no redo} *U* U Undo all latest changes on one line. {Vi: while not moved off of it} |
在命令模式中,使用XYBDU键到UNDO和CTRL+R键到REDO。见http://www.vim.org/htmldoc/undo.html。
从编辑模式输出第一个压缩键。
然后
对于开发计划署使用的U键,你多次想要开发计划署。
对Redo Use CTRL+XYBDR键
Refer to the"UNDO"and"Redo"part of VIM document.
:Red[o](red o one change which was undone)and{count},ctrl+r(red o{count})changes which were undone)are both ok.
Also the:Earlier{count}(go to older text state{count}{times.)could always be a substitute for UNDO and REDO.
中文名称:CTRL+R
"R"是下一个案例。
实用的话说,UNdolist很难使用,vim's:earlier and:later time tracking of changes is only used for course-grain fixes.Given that,I resort to a plug-in that confuses these features to provide a visual tree of browsable UNDOs,called"Gundo."当然,这是只有当你需要一个精细的晶粒固定件时才使用的东西,或者你不确定文件的准确状态,你希望归还。See:https://sjl.bitbucket.io/gundo.vim/
用VSVIM视觉工作室?
我是在VSVIM实验的时候跨过这一步的,它为视觉工作室的VIM指挥官提供了定位。
我知道关于Vim Itself中的CTRLR,但这个特别的连接不在VSVIM中工作(至少不在我的设置中?)页:1
尽管如此,什么是指挥官埃多克斯1〔9〕这是一个比上面的小比特,但在你真正需要的时候仍然很好。