-
Notifications
You must be signed in to change notification settings - Fork 43
linux vi 简单用法
cheyiliu edited this page Sep 24, 2014
·
2 revisions
vi xxfile //打开
i//开始编辑模式
o//新增一行
: + 行号,回车//跳到行
/ + 关键字//搜索 n下一个, u上一个
wq//保存退出
q!//不保存 强制退出
HOME//跳到行首
END//跳到行尾
1G//跳到文首
G//跳到文尾
Just build something.