首页 > 代码库 > how to vi
how to vi
h:left,j:down,k:up,l:right.
Can‘t open file for writing:without creat file right,:q!,mkdir cuthead.github.io/windows2003/,touch cuthead.github.io/windows2003/index.html,vi cuthead.github.io/windows2003/html.html #delete /var/tmp/index.html.swp
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 to vi
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。