summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-17 07:36:47 -0600
committerAdam <[email protected]>2025-12-17 07:36:53 -0600
commit65d7fc3ccdbc23699c9a1fb1c5ebb628cb898483 (patch)
treea8b169084489bbfa4821c0f89ae5219c6287f6c4 /packages/desktop/src
parent4f3037d80392299d7fbf395ce4e01a31020dbdcb (diff)
downloadopencode-65d7fc3ccdbc23699c9a1fb1c5ebb628cb898483.tar.gz
opencode-65d7fc3ccdbc23699c9a1fb1c5ebb628cb898483.zip
fix: command shortcuts
Diffstat (limited to 'packages/desktop/src')
-rw-r--r--packages/desktop/src/pages/session.tsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/desktop/src/pages/session.tsx b/packages/desktop/src/pages/session.tsx
index 7d1392c20..c9f24518e 100644
--- a/packages/desktop/src/pages/session.tsx
+++ b/packages/desktop/src/pages/session.tsx
@@ -259,11 +259,18 @@ export default function Page() {
onSelect: () => local.agent.move(1),
},
{
+ id: "agent.cycle.reverse",
+ title: "Cycle agent backwards",
+ description: "Switch to the previous agent",
+ category: "Agent",
+ keybind: "shift+mod+.",
+ onSelect: () => local.agent.move(-1),
+ },
+ {
id: "session.undo",
title: "Undo",
description: "Undo the last message",
category: "Session",
- keybind: "mod+z",
slash: "undo",
disabled: !params.id || visibleUserMessages().length === 0,
onSelect: async () => {
@@ -293,7 +300,6 @@ export default function Page() {
title: "Redo",
description: "Redo the last undone message",
category: "Session",
- keybind: "mod+shift+z",
slash: "redo",
disabled: !params.id || !info()?.revert?.messageID,
onSelect: async () => {