buffer-ctx.nvim
Everything the current buffer already knows about itself, as text you can insert or copy: its path, its Lua module name, the line you are on, a timestamp, a UUID, an annotation, a boilerplate header.
- status
- beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
- category
- AI
- neovim
- 0.9+
- repo
- github.com/WKDSteve/buffer-ctx.nvim
- commits
- 182
- help
- :help buffer-ctx
demo
demos/buffer-ctx.tape in a clean Neovim — re-recorded weekly
what is shown when
- :Insert location - path:line, at the cursor
- :Insert timestamp - and date, env, uuid, linecount ...
- :Insert uuid - a v4 uuid where you type
- :Insert linecount - and filename, filepath, module ...
install
{
"WKDSteve/buffer-ctx.nvim",
opts = {},
} docs/
- BINDINGS.md
- CONTRIBUTING.md
- README.md
- WORKFLOW.md
- api.md
- architecture.md
- around-it.md
- commands.md
- configuration.md
- health.md
- installation.md
- keymaps.md
- quickstart.md
git log
- refactor timestamp: format through lib.lua.time.format
- docs graphs: the connections picture has no title above an empty column
- docs readme: connections to the other repos of the workshop, as a picture and a list
- docs readme: the icon of the plugin on top, the files in assets/icons/buffer-ctx-nvim
- fix ci: the checkhealth job fails when setup() raises or the report has an ERROR
- docs config_spec no longer has to run last
- test sheets: the feature catalog, and the sheets name their feature
- chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)
- chore sheets: the sheets name the open live-check task buffer-ctx.nvim/manual-checklist-run
- test git: branch mode is checked in a temp repo, not on the checkout itself
- ci check out markdown.nvim and open.nvim so their two sheets run
- test sheets: the report after each toggle, :Insert module, :OpenInBrowser with open.nvim