h:left,j:down,k:up,l:right.
wq #write and quit
x #cut one letter
dd#cut one line
/ #search
s/a/b/ #replace first word in current line
%s/a/b/g #replace all
q! #force quit
G #jump to end of file
gg #jump to beginning of file
v #select
d #cut
p #paste
command+v #paste
$ #end of line
0 #beginning of line
y #copy
u #undo
ctrl+f #page down
ctrl+b #page up
a #add text to tail
相关文章
- How can I add a site title refiner
- How to vi
- How to: Fix a network printer suddenly showing as offline in Windows Vista, 7 or 8 « Robin's Blog
- 2> How Struts 2 Works
- vi新建一个shell脚本_编写第一个Shell脚本
- ubuntu下使用vi命令修改文件并保存实例
- 吐血整理--VI编辑器常用操作汇总
- How to get the MD5 checksum for a file: md5sum, digest, csum, fciv
- Linux 之 Vi 编辑器
- vi编辑时出现E325:ATTENTION(简单易懂,快速解决问题)