📜  如何使用 vim 编辑文本 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:25.185000             🧑  作者: Mango

代码示例2
Open a new or existing file with vim filename .
Type i to switch into insert mode so that you can start editing the file.
Enter or modify the text with your file.
Once you're done, press the escape key Esc to get out of insert mode and back to command mode.
Type :wq to save and exit your file.