How to use VI

xiaoxiao2021-03-06  63

Just like using the EDIT tool when online editing, the program is written and modified under the shell, and the recommended tool is VI. It is a text editor that comes with a UNIX system, with a powerful instruction editing, which can easily complete the text editing and modification work. Because the VI editor is different from the reasons such as version, if there is access, please refer to the relevant help and practice inspection. The DITER instruction is basically entered in command mode.

In command mode, there is the following instructions for use: (Press the ESCAPE button at any time) h Shift the cursor left to move the cursor to move the cursor to move the cursor down to move the cursor on the cursor. Move the cursor to the front of the next small word to move the cursor to the next large word to move the cursor to the front of the previous small word to move the cursor to the front of the previous large word E, move the cursor to the next small word back E Move the cursor to the next large word to move the cursor to the next character C at the same row, Fc, move the cursor to the front character C of the same row, Tc, move the cursor to the next character C of the same line. The grid TC moves the cursor to the previous character C of the same line Number | Move the cursor to the Number column or ENTER move the cursor to the next line of first non-empty white characters. - Move the cursor to the first non-empty chain character.

转载请注明原文地址:https://www.9cbs.com/read-113659.html

New Post(0)