您的位置:首页-> 资讯中心-> PHP技术-> PHP-> (转) VI 快速上手

PHP

PHP

本类阅读TOP10

·freebsd+apache+mysql+php+phpmyadmin+zend+discuz傻瓜式教程
·推荐Java学习书籍
·(转) 新版Apache+php+MySQL安装指南 Crossday 修改版
·提供Helix for linux下载!另有1万用户Lic for Linux.ZT
·提供Kylix下载
·Red hat 9 或 8怎样进行硬盘安装?
·哪里有高速下载linux9.0的啊?
·谁能提供FreeBSD下载
·大量的多媒体教学光盘ftp下载,有flash,dreamweaver视频教学
·Oracle安装(linux)小结

精品推荐
(转) VI 快速上手

加入时间:2005-2-22 快乐下载

Crossday2003-4-19 12:55
[转] VI 快速上手

VI 快速上手

按键             功能
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




相关文章

相关软件