BufNew

The BufNew event:

Fires:

radio_button_unchecked

After creating a new buffer, except during startup.

radio_button_unchecked

When renaming an existing buffer.

Notes:

radio_button_unchecked

Unlike BufEnter, this event does not fire when switching to an existing buffer.

See Also:

radio_button_uncheckedBufAdd
radio_button_uncheckedBufEnter
radio_button_uncheckedBufNewFile
radio_button_uncheckedVimEnter