feat(config): replace ctrl-a agents bind with omp-session command

This commit is contained in:
Prad Nukala committed 2026-09-30 16:20:14 -04:00
1 parent b7425ac9ae
commit 8b4a52a66d
3 files changed
+10 -19

No files matched your search

+4 -2
View File
@@ -16,7 +16,7 @@ _zle-run() {
$cmd </dev/tty
zle reset-prompt
}
for _cmd in purple clip-last omp yy lazygit; do
for _cmd in purple clip-last omp-session yy lazygit; do
zle -N "run-$_cmd" _zle-run
done
unset _cmd
@@ -82,7 +82,9 @@ bindkey '^B' run-purple
bindkey '^Y' run-clip-last
bindkey '^O' gho-inline
bindkey '^P' pj-inline
bindkey '^A' run-omp
# ctrl-a: omp-session resumes or starts omp for the repo; after a cancelled
# omp-sessions picker it moves the cursor back up itself.
bindkey '^A' run-omp-session
# ctrl-f: yazi; yy cd's to yazi's exit dir on quit.
bindkey '^F' run-yy
bindkey '^G' run-lazygit