Skip to content

refactor: rename session search to goto, bound to C-a g#34

Merged
kylecarbs merged 1 commit into
mainfrom
refactor/ui-search-to-goto
Jun 11, 2026
Merged

refactor: rename session search to goto, bound to C-a g#34
kylecarbs merged 1 commit into
mainfrom
refactor/ui-search-to-goto

Conversation

@kylecarbs

Copy link
Copy Markdown
Member

Summary

C-a s opened a "search" prompt, but it does not behave like a find: typing live-selects the best-matching session (prefix beats substring) and Enter jumps to it. "goto" describes that better.

  • Keybind moves to C-a g (control variant C-a C-g, like the other binds). C-a s now reports unbound.
  • Prompt renders goto:, the keybind bar shows g goto, cancel message is goto cancelled.
  • boo help ui and README updated; internal identifiers renamed (startGoto, gotoMatch, goto_input, ...). Matching behavior unchanged.

Validation

  • zig build test-all --summary all: 126/126.
  • zig build test-all -Doptimize=ReleaseSafe: 126/126.
  • The prompt integration test now drives C-a g end to end; the matcher unit test is renamed.

This PR was generated with Coder Agents on behalf of @kylecarbs.

The prompt jumps straight to the best-matching session rather than
iterating matches like a find, so goto describes it better. The bind
moves from C-a s to C-a g (and C-a C-g); prompt, keybind bar, help,
README, and internal names follow.
@kylecarbs kylecarbs merged commit 45cd8c0 into main Jun 11, 2026
4 checks passed
@kylecarbs kylecarbs mentioned this pull request Jun 11, 2026
kylecarbs added a commit that referenced this pull request Jun 11, 2026
Search-to-goto rename (#34).
@kylecarbs kylecarbs deleted the refactor/ui-search-to-goto branch June 11, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant