VI 快速上手
2008-02-23 07:16:40来源:互联网 阅读 ()
h left
j down
k up
l right
nh n char left
nj n char down
w fwd word
b back word
H upper left of screen
M mid screen
L lowest line of screen
G bottom of file
nG to line n
0 begin line
$ end line
i insert before
a insert after
A ins end line
o opens line
O opens line above
xp transpose
J join lines
rC rep char "C"
r rep with <CR>
R rep to esc
u undoes last
x del char
dw del word
nx del n char
ndw del n words
dd del line
ndd del n lines
D to end the line
^L redraw screen
z current line to top
z- current line to bottom
z. line to middle screen
^F page fwd
^B page back
^D 1/2 page forward
^U 1/2 page back
yy stores current line in buffer
nyy stores n lines in buffer
ynw stores n words in buffer
p puts buffered text after current line or word
P puts buffered text before current line or word
/string search forward
?string search backward
n,N repeat last search
n same direction, N opposite
ZZ writes changes - quits
:wq writes changes - quits
:q no changes - quits, q! for sure
:w writes changes, doesn't quit
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
上一篇:网络安装的一点实践
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash