如题所述
vim test.txt
使用vim编辑器:光标在第一行第一个字符时:
1) ctrl+v
2) shift+g (即大写G)
3) x
就可以了。按ESC,输入 :wq 保存退出。
或者使用命令方式执行: