mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
style(config): replace ctrl‑e binding with yazi and remove nvim shortcut
This commit is contained in:
1 parent
568bf5c875
commit
281d0669ad
1 file changed
+3
-2
@@ -14,12 +14,13 @@ _zle-run() {
|
|||||||
$cmd </dev/tty
|
$cmd </dev/tty
|
||||||
zle reset-prompt
|
zle reset-prompt
|
||||||
}
|
}
|
||||||
for _cmd in nvim purple clip-last gho pj omp yy lazygit; do
|
for _cmd in purple clip-last gho pj omp yy lazygit; do
|
||||||
zle -N "run-$_cmd" _zle-run
|
zle -N "run-$_cmd" _zle-run
|
||||||
done
|
done
|
||||||
unset _cmd
|
unset _cmd
|
||||||
|
|
||||||
bindkey '^E' run-nvim
|
# ctrl-e: yazi, same as ctrl-f (cd's to yazi's exit dir on quit).
|
||||||
|
bindkey '^E' run-yy
|
||||||
bindkey '^B' run-purple
|
bindkey '^B' run-purple
|
||||||
bindkey '^Y' run-clip-last
|
bindkey '^Y' run-clip-last
|
||||||
bindkey '^O' run-gho
|
bindkey '^O' run-gho
|
||||||
|
|||||||
Reference in new issue
Block a user