- vim filename enters the file
- Press == ctrl + i == or the insert key in the upper right corner of the keyboard to enter insert mode and modify the file content.
- After modifying the file, press esc in the upper left corner of the keyboard to exit insert mode and enter command mode. There are several ways to exit:
- Press shift+z+z to save and exit
- First enter the colon **:**, then enter the following and press Enter
(1) wq - save and exit (wq stands for write&quit)
(2)
How to save and exit vim under Linux
Guess you like
Origin blog.csdn.net/ZHorcrux/article/details/130208983
Recommended
Ranking