LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 747|回复: 3

gentoo 文档中vi-guide有个错误

[复制链接]
发表于 2009-1-5 13:55:41 | 显示全部楼层 |阅读模式
Repeating and deleting

You can repeat any editing command by hitting the . key. If you experiment, you'll see that typing dd... will delete 4 lines, and J...... will join four lines. As usual, vi provides with another handy shortcut.

see that typing dd... will delete 4 lines, and J...... will join four lines

应该是4d ... will delete 4 line, and 4J... will join four lines..
发表于 2009-1-5 14:32:52 | 显示全部楼层
r u kidding?

http://www.gentoo.org/doc/zh_cn/vi-guide.xml

重复和删除

你可以靠.键来重复任一编辑命令。如果你试验一下,会看到输入dd...会删掉4行,而J......会加入4行。与往常一样,vi提供了其他便捷的方式。
回复 支持 反对

使用道具 举报

发表于 2009-1-5 14:53:08 | 显示全部楼层
看来楼主没有把"."当成一个命令。

做为省略号了??

Orz...
回复 支持 反对

使用道具 举报

发表于 2009-1-5 15:47:16 | 显示全部楼层
hoho,看过了笑一笑
回复 支持 反对

使用道具 举报

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

本版积分规则

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