[Practical.Vim(2012.9)].Drew.Neil.Tip08学习摘要

本文介绍了在Vim编辑器中如何使用u命令进行撤销操作,撤销可以针对多种模式下的文本修改,包括Normal模式、Visual模式和Insert模式下的插入或删除等。

Chunk Your Undos

The u key triggers the undo command, which reverts the most recent change.
A change could be anything that modifies the text in the document. That includes commands triggered from Normal, Visual, and Command-Line modes, but a change could also encompass any text entered (or deleted) in Insert mode. So we could also say that i{insert some text}<Esc> constitutes a change.

在vim中u命令执行undo命令,撤销最近一次的改变。改变可以是任何对文本的修改。包括Normal模式下的修改,也可以是Visual模式,Insert模式下的添加删除文本修改。所以 i{insert some text}<Esc>构成了一个改变。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值