feat: keybars Pro's side of the editor #6

Merged
jwarykowski merged 1 commit from feat/keybars into master 2026-10-18 01:38:27 +00:00
Owner

Phase 3 of the herdr-keybars plan: the editor's half, behind keybars = true (off by default).

  • :KeybarsRun make test runs the command through keybars-pro run, so the keyboard shows build.running, then passed or failed, and a failure's output opens in the quickfix list.
  • :KeybarsFocus [start|stop|status] drives keybars Pro's Focus timer.
  • require("herdr.keybars").status() is a statusline component (🎯12m · 74 wpm). It follows one keybars-pro watch, and while the app is closed it retries every 30 seconds, not on every redraw.
  • diagnostics = true holds a key red while any loaded buffer has errors, and clears it on fixing or on exit.
  • :checkhealth herdr checks that keybars-pro answers when this is on.

Changed from the plan: :HerdrSend doesn't light the agent's key. herdr-keybars' watcher already shows that agent working, waiting or done, and Neovim doesn't know the watcher's key for each workspace.

Tested: stylua, luacheck, and busted (15 specs). The new specs cover the helpers, :KeybarsRun against a fake keybars-pro filling the quickfix list, and the diagnostics key lighting and clearing.

Phase 3 of the herdr-keybars plan: the editor's half, behind `keybars = true` (off by default). - **`:KeybarsRun make test`** runs the command through `keybars-pro run`, so the keyboard shows `build.running`, then passed or failed, and a failure's output opens in the quickfix list. - **`:KeybarsFocus [start|stop|status]`** drives keybars Pro's Focus timer. - **`require("herdr.keybars").status()`** is a statusline component (`🎯12m · 74 wpm`). It follows one `keybars-pro watch`, and while the app is closed it retries every 30 seconds, not on every redraw. - **`diagnostics = true`** holds a key red while any loaded buffer has errors, and clears it on fixing or on exit. - **`:checkhealth herdr`** checks that `keybars-pro` answers when this is on. Changed from the plan: `:HerdrSend` doesn't light the agent's key. herdr-keybars' watcher already shows that agent working, waiting or done, and Neovim doesn't know the watcher's key for each workspace. Tested: stylua, luacheck, and busted (15 specs). The new specs cover the helpers, `:KeybarsRun` against a fake `keybars-pro` filling the quickfix list, and the diagnostics key lighting and clearing.
feat: keybars Pro's side of the editor
All checks were successful
CI / lint (pull_request) Successful in 54s
CI / test (nightly) (pull_request) Successful in 1m17s
CI / test (stable) (pull_request) Successful in 1m17s
f0cd862114
With keybars = true: :KeybarsRun runs a command through keybars-pro run,
so the keyboard shows it running, passed or failed, and a failure's
output opens in the quickfix list; :KeybarsFocus drives the Focus timer;
herdr.keybars.status() is a statusline component following one
keybars-pro watch; and diagnostics = true holds a key while there are
errors. :checkhealth herdr checks keybars-pro answers.
jwarykowski deleted branch feat/keybars 2026-10-18 01:38:27 +00:00
Sign in to join this conversation.
No description provided.