mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-10-24 08:23:19 +00:00
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:
@@ -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
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user