The insertMode parameter may be used to query or set the current insertion mode.
query command
set command
The current view.
query insertMode set insertMode { on | off }
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. |
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.
query insertMode set insertMode on
query command
set command
toggleInsert action