| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 5564 人关注过本帖
标题:vim小窍门之 :h text-object
取消只看楼主 加入收藏
静夜思
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:济南的冬天
等 级:管理员
威 望:11
帖 子:8913
专家分:2567
注 册:2004-3-25
结帖率:100%
收藏
 问题点数:0 回复次数:0 
vim小窍门之 :h text-object
:h text-object

打开text-object帮助。

常用的几个命令,做下笔记:
    "dl"    delete character (alias: "x")        |dl|
    "diw"    delete inner word            *diw*
    "daw"    delete a word                *daw*
    "diW"    delete inner WORD (see |WORD|)        *diW*
    "daW"    delete a WORD (see |WORD|)        *daW*
    "dd"    delete one line                |dd|
    "dis"    delete inner sentence            *dis*
    "das"    delete a sentence            *das*
    "dib"    delete inner '(' ')' block        *dib*
    "dab"    delete a '(' ')' block            *dab*
    "dip"    delete inner paragraph            *dip*
    "dap"    delete a paragraph            *dap*
    "diB"    delete inner '{' '}' block        *diB*
    "daB"    delete a '{' '}' block            *daB*
搜索更多相关主题的帖子: character inner alias 
2011-11-17 01:58
快速回复:vim小窍门之 :h text-object
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.041333 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved