Editing a little faster

原创 2007年09月17日 16:55:00

word movement: 

 move forward: w, 4w;   move backward: b, 4b;

move to the end of the line: $, 4$, <end>; 

move to the start of the line: ^( nonblank character ), <home> ( first character )

searching along a single line:

( forward search ) searches the single line for a character x: fx

( backward search ) Fx

note: forward five words 5f<space>

tx command like the fx command, except it stop one character before the indicator.

 Moving to a special line: 4G

note: anthoer way:  9999k, 2j

display line number: :set number /( disable: :set nonumber )

show the indicator in which line: <ctrl> + G

scroll up and down: <ctrl> + U (up);  <ctrl> + D (down);

delete text: 3dw  d3w  3d2w

change text: cw ( replace single word and leave the edit in the insert mode )

                      cc ( replace the whole line )

repeat the last commad: . (dot)

joining lines: J, 3J

relacing single character: 5ra ( replace the current character with 5 a )

                                               5r<enter> ( replace the current characters with a <enter> )

change case: ~

keborad macro:

1. using q[ macro name ] to enter record macro,

2. records keystorkes into the register named using character between a ~ z

3. finish record q

execute keyboard macro: 4@[ macro name ]

special character:

1. using :digraphs to show special character table to know the [index name].

2. In Insert mode: <ctrl> + k + [index name].

 

相关文章推荐

bash-vim-editing-cheat-sheet

  • 2014年03月27日 23:15
  • 78KB
  • 下载

图像融合之泊松编辑(Poisson Editing)(2):详解算法和实现

原文地址:http://blog.csdn.net/hjimce/article/details/45716603 作者:hjimce 本篇博文主要讲解2004年Siggraph的经典paper:...

chrome office editing

  • 2017年05月17日 12:44
  • 9.95MB
  • 下载

10115 Automatic Editing

Text-processing tools like awk and sedallow you to automatically perform a sequence of editing opera...

IDDFS--UVA - 11212 Editing a Book

分析:本题可以用迭代加深搜索算法。令最大搜索深度为maxd,当前搜索深度为d,则每次搜索都是从序列中截取一部分进行“剪贴复制”操作;考虑后继不正确的数字个数为h,可以证明每次剪切时h最多减少3 证明...

Unity说明文档翻译-Editing Properties

Editing Properties 编辑属性 Properties are settings and options for components that can be edited in t...

Ubuntu安装记录及遇到的问题——“向硬盘复制文件时遇到错误”、“Minimal BASH-like line editing is supported”

基本上是按照教程来的,但是(因为自己比较菜)还是有一些不同的地方。 首先双硬盘貌似就麻烦一点,单硬盘的话windows和Ubuntu的启动引导盘无疑都是一个盘,所以装系统省事,启动引导也省事,基本按...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Editing a little faster
举报原因:
原因补充:

(最多只允许输入30个字)