找回密码
 注册
查看: 1987|回复: 2

请问:vim插入模式下如何删除光标至行尾的内容?

[复制链接]
发表于 2005-2-5 17:04:34 | 显示全部楼层 |阅读模式
vim 在插入模式下,ctrl-u 是删除光标至行首。
我想应该有个对应的快捷键, 能够删除光标至行尾的内容。有谁知道吗?
发表于 2005-3-5 15:03:29 | 显示全部楼层
C 可以实现删除至行尾,再修改的功能。
你说的ctrl-u可以删除至行首?
回复

使用道具 举报

发表于 2005-3-8 13:40:57 | 显示全部楼层
In the command mode d$ can do that.
if you want to achieve in insert mode ,you must map the key in ~/.exrc or ~/.vimrc file
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-7 00:59 , Processed in 0.023937 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表