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

Unix/Linux
如何改变X-WINDOW的分辨率?
NFS 和 NIS
如何在 RedHat 中限制、允许telnet&ftp功能
Linux 文件系统介绍
Linux下NFS网络文件系统设定及管理
LINUX的起源和特色
Linux下Grub开机管理程式安装简介
如何在大硬盘上安装 Linux
Linux下的硬盘提速方案
命令详解:tee
命令详解:e2fsck
命令详解:efax
Linux技巧:定制VI
Linux技巧:软驱的使用
Linux技巧:强行退出X
Linux技巧:当终端出现混乱时,如何让它恢复正常
Linux技巧:列目录时显示中文文件名
轻轻松松的安装Slackware Linux -- 3.认识 Slackware Linu
轻轻松松的安装Slackware Linux -- 1.如何选购Linux可以搭配的机器
轻轻松松的安装Slackware Linux -- 2.作业系统安装初步

Unix/Linux 中的 VI 快速上手


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 71 ::
收藏到网摘: 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