Table of Contents

Vi - Mode

About

The Vi editors are modal editors and behaves then differently, depending on which mode you are in.

The two basic modes are called:

Others mode:

Modes

Insert

Hello World

Vim Insert Mode

Normal

The normal mode (ESC) is the default one where you can execute commands.

To get back to Normal mode, no matter what mode you are in, press the Esc key. Sometimes you have to press it twice. If Vim beeps back at you, you already are in Normal mode.

Append

Other

See Intro mode

Management

Configuration

:set showmode

Switching

Command Description Mode Note
i Go to insert Mode Normal
ESC Return to Normal Mode Any