Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
dt删除直到下一个逗号。
a, b, c[,] d, e dt, a, b, c[,] e
为了得到:反向执行相同操作的命令是什么:
a, b, d, e
通常在 Vim 中,大写字母执行相反方向的动作。因此dT,将向后搜索。但是,您需要使用2dT,以便删除第一个逗号。
出于同样的原因,您需要使用df,而不是dt,删除给定示例中的逗号。