mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
feat(config): replace ctrl-a agents bind with omp-session command
This commit is contained in:
1 parent
b7425ac9ae
commit
8b4a52a66d
3 files changed
+10
-19
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user