mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 18:01:22 +00:00
feat(coding-agent): add keybinding actions for /tree, /fork, and /new
Add newSession, tree, and fork as configurable keybinding actions. All unbound by default. Users can configure in keybindings.json. Closes #1088
This commit is contained in:
parent
d075291b08
commit
6f2d066342
4 changed files with 25 additions and 1 deletions
|
|
@ -1776,6 +1776,9 @@ export class InteractiveMode {
|
|||
this.defaultEditor.onAction("externalEditor", () => this.openExternalEditor());
|
||||
this.defaultEditor.onAction("followUp", () => this.handleFollowUp());
|
||||
this.defaultEditor.onAction("dequeue", () => this.handleDequeue());
|
||||
this.defaultEditor.onAction("newSession", () => this.handleClearCommand());
|
||||
this.defaultEditor.onAction("tree", () => this.showTreeSelector());
|
||||
this.defaultEditor.onAction("fork", () => this.showUserMessageSelector());
|
||||
|
||||
this.defaultEditor.onChange = (text: string) => {
|
||||
const wasBashMode = this.isBashMode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue