【发布时间】:2014-04-06 14:27:39
【问题描述】:
我在使用 vim 时注意到了一些语法
例如
[<motion>]<operator><motion>
e.g.
<gg><d><G> // delete from the top of file to the bottom of file
<d><G> // delete from the current line to the bottom of file
为了
<operator><operator>
e.g.
<y><y> // inline copy
<d><d> // inline delete
<>><>> // inline right-indent
好的,类似这些。
对于语法或组合命令的方式,我只知道一些模式。
对我来说,我认为有很多方法可以在 vim 上组合命令,这对我来说看起来太乱了
我觉得 Vim 应该有命令基础。
我想知道
vim 是否有特定的语法来组合命令?
你能给我更多关于这方面的信息吗?
【问题讨论】: