Vim shortcuts commonly used summary

Normal mode shortcuts

The number of representatives [num], [ob] represents the object

&& moving objects

方向键当然是可以移动的与j,k,h,l等价
Vim风格的移动:
以下的移动方式也可以插在其他命令中当作对象,就不再赘述了
k [num] 上
j 下
h 左
l 右
w 移动到下一个单词前
e 移动到当前单词末(光标在最后一个字符前)
b 移动到当前单词首
( 移动到段首
) 移动到段尾
gg 移动文件首
G 移动到文件最后一行首

Split-screen operation

分屏操作都是以ctrl+w开头的,以下不再赘述

command

All commands have front: I'm too lazy to hit

Mobile operation

直接输入数字 跳到第几行

File Operations

w 保存
w [文件名]  另存为
wq 保存并退出
r [文件名]  读入一个文件并插进来

Split-screen operation

sp [另一个文件]纵向分屏
vsp [另一个文件]横向分屏

Search operation

Guess you like

Origin www.cnblogs.com/oiertkj/p/11220136.html