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

Unix/Linux
磁带驱动器的使用
Linux 指令篇:起始管理--shutdown
Linux Shadow-Password-HOWTO - 6. upgrade或patc
Linux Shadow-Password-HOWTO - 2. 为何shadow你的pa
Linux Shadow-Password-HOWTO - 4. 编译程式
Ethernet HOWTO Linux以太网-HOWTO (6)技术信息
Ethernet HOWTO Linux以太网-HOWTO (7)笔记本电脑联网
Ethernet HOWTO Linux以太网-HOWTO (4)型号的信息
Ethernet HOWTO Linux以太网-HOWTO (5)电缆、同轴电缆、双绞线
Jaz-drive HOWTO -- 4. Jaz 磁片的用法
Jaz-drive HOWTO -- 5. Linux 上的 Jaz 工具软件
Jaz-drive HOWTO -- 6. 从 Jaz 磁片启动系统
LILO, Linux Crash Rescue HOWTO LILO 毁损,无法开机
Printing Usage HOWTO 如何使用打印机-1. 导言
Printing Usage HOWTO 如何使用打印机-2. 打印文档
Printing Usage HOWTO 如何使用打印机-3.文档类别
Printing Usage HOWTO 如何使用打印机-4. 杂项
Printing Usage HOWTO 如何使用打印机-5. 常见问题
Printing Usage HOWTO 如何使用打印机-6. 参考材料
Linux Shadow-Password-HOWTO - 1. 简介

Unix/Linux 中的 VI 快速上手


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