InsertEnter

The InsertEnter event:

Fires:

radio_button_unchecked

Just before starting insert mode.

radio_button_unchecked

Just before starting replace mode .

radio_button_unchecked

Just before starting Virtual Replace mode.

Notes:

radio_button_unchecked

The v:insertmode variable indicates the mode.

radio_button_unchecked

Be careful not to do anything else that the user does not expect.

radio_button_unchecked

The cursor is restored afterwards.

radio_button_unchecked

If you do not want that set v:char to a non-empty string.