detached c09a5c5

chore(tui): reorder slash catalog

Group related commands side by side in the /-popup: /sessions
and /session next to each other, /compact near /btw, /jail near
/skills, etc. Pure data reshuffle, no behaviour change.
commit
c09a5c55599c37a7fd86a4fb5925821e5706d3e1
author
patriceckhart · · 2026-04-20 09:41 UTC
parent
c080578
signature
unsigned
refs
tag: v0.0.61
1 file · +3 -3
M internal/agent/modes/slash_suggest.go +3 -3
@@ -37,16 +37,16 @@ var slashCatalog = []slashCommand{
3737 {Name: "/logout", Desc: "clear a provider's credentials"},
3838 {Name: "/model", Desc: "pick a model (or /model <id>)"},
3939 {Name: "/sessions", Desc: "resume a previous session for this directory"},
40+ {Name: "/session", Desc: "export the current session to a .zotsession file, or import one"},
4041 {Name: "/jump", Desc: "scroll the chat to a previous turn (or /jump <text>)"},
41- {Name: "/btw", Desc: "side-chat that doesn't add to the main thread (saves tokens)"},
42- {Name: "/skills", Desc: "list discovered skills (SKILL.md files)"},
4342 {Name: "/compact", Desc: "summarize and replace the transcript to free up context"},
43+ {Name: "/btw", Desc: "side-chat that doesn't add to the main thread (saves tokens)"},
4444 {Name: "/jail", Desc: "confine tools to the current directory"},
45+ {Name: "/skills", Desc: "list discovered skills (SKILL.md files)"},
4546 {Name: "/unjail", Desc: "allow tools to touch paths outside this directory"},
4647 {Name: "/reload-ext", Desc: "hot-reload all extensions (re-read manifests and respawn)"},
4748 {Name: "/yolo", Desc: "turn off --no-yolo confirmation for the rest of this session"},
4849 {Name: "/telegram", Desc: "connect, disconnect, or show status of the telegram bridge"},
49- {Name: "/session", Desc: "export the current session to a .zotsession file, or import one"},
5050 {Name: "/clear", Desc: "clear the chat transcript"},
5151 {Name: "/exit", Desc: "exit zot"},
5252 }
@@ -37,16 +37,16 @@ var slashCatalog = []slashCommand{
37 {Name: "/logout", Desc: "clear a provider's credentials"},37 {Name: "/logout", Desc: "clear a provider's credentials"},
38 {Name: "/model", Desc: "pick a model (or /model <id>)"},38 {Name: "/model", Desc: "pick a model (or /model <id>)"},
39 {Name: "/sessions", Desc: "resume a previous session for this directory"},39 {Name: "/sessions", Desc: "resume a previous session for this directory"},
40+ {Name: "/session", Desc: "export the current session to a .zotsession file, or import one"},
40 {Name: "/jump", Desc: "scroll the chat to a previous turn (or /jump <text>)"},41 {Name: "/jump", Desc: "scroll the chat to a previous turn (or /jump <text>)"},
41- {Name: "/btw", Desc: "side-chat that doesn't add to the main thread (saves tokens)"},
42- {Name: "/skills", Desc: "list discovered skills (SKILL.md files)"},
43 {Name: "/compact", Desc: "summarize and replace the transcript to free up context"},42 {Name: "/compact", Desc: "summarize and replace the transcript to free up context"},
43+ {Name: "/btw", Desc: "side-chat that doesn't add to the main thread (saves tokens)"},
44 {Name: "/jail", Desc: "confine tools to the current directory"},44 {Name: "/jail", Desc: "confine tools to the current directory"},
45+ {Name: "/skills", Desc: "list discovered skills (SKILL.md files)"},
45 {Name: "/unjail", Desc: "allow tools to touch paths outside this directory"},46 {Name: "/unjail", Desc: "allow tools to touch paths outside this directory"},
46 {Name: "/reload-ext", Desc: "hot-reload all extensions (re-read manifests and respawn)"},47 {Name: "/reload-ext", Desc: "hot-reload all extensions (re-read manifests and respawn)"},
47 {Name: "/yolo", Desc: "turn off --no-yolo confirmation for the rest of this session"},48 {Name: "/yolo", Desc: "turn off --no-yolo confirmation for the rest of this session"},
48 {Name: "/telegram", Desc: "connect, disconnect, or show status of the telegram bridge"},49 {Name: "/telegram", Desc: "connect, disconnect, or show status of the telegram bridge"},
49- {Name: "/session", Desc: "export the current session to a .zotsession file, or import one"},
50 {Name: "/clear", Desc: "clear the chat transcript"},50 {Name: "/clear", Desc: "clear the chat transcript"},
51 {Name: "/exit", Desc: "exit zot"},51 {Name: "/exit", Desc: "exit zot"},
52 }52 }

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 477

↑↓ moveenter openesc close