Use a text editor vim at the command line

Can not be remotely mounted, you can use vim editing simple text files.

Often used:

1. Move the cursor to the desired position of the editing;

2. Insert mode i;

3. When editing is complete press esc to exit insert mode;

4.: wq - to save and exit.

 

More detailed commands can refer to:

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

Published 47 original articles · won praise 11 · views 20000 +

Guess you like

Origin blog.csdn.net/qazwsxrx/article/details/104252878