Skip to content

Instantly share code, notes, and snippets.

@dtr2300
dtr2300 / nvim-events.md
Last active June 24, 2024 07:33
Overview of Nvim Events

Nvim Events

Nvim recognizes the following events. Names are case-insensitive.

BufAdd
Just after creating a new buffer which is
added to the buffer list, or adding a buffer
## https://pypi.org/project/art/
import art
## add extra headers
extra_headers = r"""
["default1"] = {
[[ __ ]],
[[ ___ ___ ___ __ __ /\_\ ___ ___ ]],
[[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]],