What are the working modes of vi editor and how to convert them

王林
Release: 2020-06-15 09:28:39
Original
24477 people have browsed it

What are the working modes of vi editor and how to convert them

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

How to switch between modes:

Command Mode (Command Mode) Input a, i, o to enter text input mode (Input Mode);

Text input mode (Input Mode) Press ESC to enter Command Mode;

Enter [:] under Command Mode to enter Last line Mode;

Last line If there is a command error in Last line Mode, it will return to Command Mode.

Recommended tutorial: linux tutorial

The above is the detailed content of What are the working modes of vi editor and how to convert them. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template