当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > VI 快速上手

Unix/Linux
组网不求人!搭建简易Linux局网服务器
漂亮的国产Linux操作系统Open Desktop赏析
Linux操作系统中安装和试用IE、Office等软件
Linux中巧妙安装红旗紫光输入法
在linux7.1上安装jdk+tomcat+oracle9i笔记
稳定安全高效的新一代Linux服务器产品问世
SWsoft公司推出Windows版Linux服务器软件
方便快捷—活用Linux操作系统的后台任务
Linux用户要注意修复漏洞
Linux中防御垃圾邮件的方法
解除使用Linux分区工具时给大家带来的困扰
Linux指令篇日期时间排程--date
在Fedora_Core_3上安装zhcon0.2.3
Linux指令篇档案目录管理--cat
备份mbrzt
SLES FAQ 系列 -- 配置网卡绑定
编译内核2.4.20-8custom
Linux指令篇档案目录管理--cut
Vmware gsx 2.5+linux+oracle817ops 双机安装手册
XteamLinux安装小技巧

Unix/Linux 中的 VI 快速上手


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 48 ::
收藏到网摘: n/a

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