feat(omo): quit with :q, :q!, :qa or :wq

A small extension catches Enter while the editor holds :q, :q!, :qa or :wq and shuts omo down, after the running turn if there is one. It reads the key through onTerminalInput rather than the input event, so typing :q never fires UserPromptSubmit hooks, which used to leave the blue working marker behind. setup-mac.sh links it into ~/.omo/agent/extensions.
This commit is contained in:
David Ibia
2026-10-17 16:28:20 +01:00
parent cd0ed704ab
commit dd90b462f5
2 changed files with 28 additions and 0 deletions
+1
View File
@@ -48,6 +48,7 @@ local_servers
.config/zed/settings.json
.config/omo/hooks.json:.omo/agent/hooks.json
.config/omo/keybindings.json:.omo/agent/keybindings.json
.config/omo/extensions/vim-quit.ts:.omo/agent/extensions/vim-quit.ts
.config/omo/prompts:.omo/agent/prompts
"