linux vi 改英文,linux vi命令的快捷键的使用(国外英文资料).doc

linux vi命令的快捷键的使用(国外英文资料)

linux vi命令的快捷键的使用(国外英文资料)

The use of shortcut keys for the Linux vi command

Cursor control command

Command cursor movement

H or h ^ move one character to the left

J ^ j or ^ n down one line

K or moving upward ^ p line

L or space moves a character to the right

The G moves to the last line of the file

NG moves to line n of the file

W moves to the beginning of the next word

W moves to the beginning of the next word, ignoring punctuation

B moves to the beginning of the first word

B move to the beginning of the first word and ignore the punctuation

Move to the last line of the screen

M moves to the middle of the screen

H moves to the first line of the screen

E moves to the end of the next word

E moves to the end of the next word, ignoring punctuation

Move to the beginning of the sentence

Move to the end of the sentence

{move to the beginning of the paragraph

* move to the beginning of the next paragraph

0 or | moves to the first column of the current row

N | to the current row n column

^ moved to the current row first not null character

Move $1 to the last character of the current line

+ or return moves to the first character of the next line

-move to the first non-empty character in the previous line

Add text to the Linux vi command

Command insert action

A is inserted into the text after the cursor

A inserts text in the current line

I insert text in front of the cursor

I insert text before the current line

O insert the new line under the current line

O insert the new line above the current line

: r file reads the file contents and inserts them in the current row

The nr file reads the file contents and inserts them in line n

Escape returns to the command mode

^ v char insert time ignore char specified meaning, which is to insert special characters

Delete text in the Linux vi command

Command delete operation

X removes the characters from the cursor and can add the number of characters to delete before x

Nx deletes n characters from the current cursor

X deletes the charact

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值