20 lines
180 B
Markdown
20 lines
180 B
Markdown
|
# Vim 常用命令
|
||
|
|
||
|
## 1.跳转到文件首行
|
||
|
|
||
|
```bash
|
||
|
gg
|
||
|
```
|
||
|
|
||
|
## 2.删除光标所在行以及其下所有行的内容
|
||
|
|
||
|
```bash
|
||
|
dG
|
||
|
```
|
||
|
|
||
|
## 3.删除所有内容
|
||
|
|
||
|
```bash
|
||
|
ggdG
|
||
|
```
|