红联Linux门户
Linux帮助

关于vim中删除命令的一点问题

发布时间:2007-07-03 01:44:35来源:红联作者:loriwang
我的VIM版本是7.0.109。
在vimtutor--lesson 2.1: DELETION COMMANDS中提到
Type "dw" to make the word disappear.
NOTE: The letter "d" will appear on the last line of the screen as you type it. Vim is waiting for you to type "w". If you see another character than "d" you typed something wrong; press and start over.
但是我输入d后始终无法在屏幕底部找到提示的d,不知道大家有没有人注意过。
文章评论

共有 1 条评论

  1. loriwang 于 2007-07-03 02:06:08发表:

    另外在lesson 2.5
    先说的是" In the combination of the delete operator and a motion mentioned above you insert a count befor the motion to delete more: d number motion"
    可是后例子却是 "2dw" 实际当中好像两种方法都有效,不知道作者这样写的意图是什么.
    下面的NOTE也不大明白:
    "A count between the operator d and the motion works similar to using the motion without an operator."
    什么叫using the motion without an operator?
    有人能解释一下么?

    [ 本帖最后由 loriwang 于 2007-7-3 12:51 编辑 ]