Get the App
SLTechnology News&Howtos  ›  Servers  › 

The conversion of three working modes of vi Editor

Shulou Source: shulou.com Published: 2022-06-03 03:05:42 10月05日 Update

The vi editor has three basic working modes: command line mode, text input mode, and end-of-line mode.

How to switch between modes:

Enter a, I, o into text input mode (Input Mode) in instruction mode (Command Mode)

Press ESC in text input mode (Input Mode) to enter instruction mode (Command Mode)

Enter [:] in instruction mode (Command Mode) to enter last line mode (Last line Mode)

If an instruction error occurs in the last line mode (Last line Mode), the instruction mode (Command Mode) is returned.

These are the details of which working modes of the vi editor and how to convert them. Please pay more attention to other related articles!

Tags: Mode instruction input text editor work between content that is articles more errors toggle Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Microsoft OPPO Reno macOS Shulou Technology