insertMode parameter

The insertMode parameter may be used to query or set the current insertion mode.

Availability

query command
set command

Scope

The current view.

Syntax

query insertMode
set insertMode { on | off } 

Parameters

on If you specify the on parameter, the insertion mode will be changed to insert.
off If you specify the off parameter, the insertion mode will be changed to replace.

Description

If you are typing and the insertion mode is insert, characters to the right of the cursor will be shifted to make room for the new characters.  If you are typing and the insertion mode is replace, characters will be replaced by the new characters.

Examples

query insertMode
set insertMode on 


query command
set command
toggleInsert action