AI · beta · Neovim 0.9+ · 182 commits
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.
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 ...
Connections
Tap the picture to open it at full size.
Install
{
"WKDSteve/buffer-ctx.nvim",
opts = {},
} 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.
Documentation
Recent commits
- 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)