NORMAL ~/wkd/p/buffer-ctx :set skin=modern utf-8

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

recorded with VHS from demos/buffer-ctx.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. :Insert location - path:line, at the cursor
  2. :Insert timestamp - and date, env, uuid, linecount ...
  3. :Insert uuid - a v4 uuid where you type
  4. :Insert linecount - and filename, filepath, module ...

install

{
  "WKDSteve/buffer-ctx.nvim",
  opts = {},
}

docs/

git log

  1. refactor timestamp: format through lib.lua.time.format
  2. docs graphs: the connections picture has no title above an empty column
  3. docs readme: connections to the other repos of the workshop, as a picture and a list
  4. docs readme: the icon of the plugin on top, the files in assets/icons/buffer-ctx-nvim
  5. fix ci: the checkhealth job fails when setup() raises or the report has an ERROR
  6. docs config_spec no longer has to run last
  7. test sheets: the feature catalog, and the sheets name their feature
  8. chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)
  9. chore sheets: the sheets name the open live-check task buffer-ctx.nvim/manual-checklist-run
  10. test git: branch mode is checked in a temp repo, not on the checkout itself
  11. ci check out markdown.nvim and open.nvim so their two sheets run
  12. test sheets: the report after each toggle, :Insert module, :OpenInBrowser with open.nvim

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search plugins and apps (app: x or plugin: x narrows)
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :apps · :play · :log · :stack
plugin list · app list · play area · activity stream · dependency graph
:log apps
the stream of one area (plugins or apps)
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close