2020年2月27日星期四

Edit text on the command line using vim under Ubuntu

When you cannot mount remotely, you can use vim to edit simple text files.

Frequently used commands:

1. Use the arrow keys to move the cursor to the position you want to edit;

2. Press i to enter insert mode;

3. After editing, press esc to exit insert mode;

4. Use: wq to save and exit.



More detailed commands can refer to:

https://blog.csdn.net/weixin_37657720/article/details/80645991

没有评论:

发表评论