Event: ModeChanged

The ModeChanged event:

Fires:

After changing the mode.

Notes:

The pattern is matched against 'old_mode:new_mode',

For example match against *:c to simulate CmdlineEnter.