Skip to content

Instantly share code, notes, and snippets.

@Piotr1215
Last active July 29, 2024 19:02
Show Gist options
  • Save Piotr1215/0b07f7b842d5ea6522e25ea17d2ea2d1 to your computer and use it in GitHub Desktop.
Save Piotr1215/0b07f7b842d5ea6522e25ea17d2ea2d1 to your computer and use it in GitHub Desktop.
Neovim Autocommands
Command Description
:autocmd Lists all currently defined auto commands in Neovim.
:autocmd {event} Shows auto commands for a specific event (e.g., BufWritePost).
:verbose :autocmd {event} Provides detailed information about auto commands for a specific event
:augroup {group} | autocmd | augroup END Displays all auto commands within a specific group.
:autocmd * {pattern} Lists all auto commands that match a specific pattern (e.g., *.lua).
Telescope autocommands Lists all auto commands and fuzzy find.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment