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

Unix/Linux
Linux 开机程序之研讨
RedHat Linux口令恢复任我行
Linux简明系统维护手册(五)
Linux简明系统维护手册(一)
Linux简明系统维护手册(二)
Redhat9.0 下DNS配置笔记
在Linux下建立强大的FTP搜索引擎(二)
LINUX学习笔记--FTP服务器设置篇
Linux网络安全之经验谈(1)
Linux网络安全之经验谈(2)
Linux网络安全之经验谈(3)
Linux网络安全之经验谈(4)
Linux网络安全之经验谈(5)
制作Linux启动盘的四种方法
教你十种提高Linux系统安全性的招数
Linux/Unix环境下的make命令详解
Linux中轻松使用USB移动存储器
Linux上安装GCC编译器过程
Linux中文件查找方法大全
通过COM口管理Linux服务器

Unix/Linux 中的 VI 快速上手


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