diff options
| author | Paul Buetow <paul@buetow.org> | 2025-02-27 22:00:14 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-02-27 22:00:14 +0200 |
| commit | 5367b98cf4e17f7906f6d170d88b80a60f73ccdf (patch) | |
| tree | ffe28e7454abbd4dbb4a9630eb6944329d118e60 | |
| parent | 42af3023474267a65ecefcfe4794f253ac2ac11e (diff) | |
add more tv
| -rw-r--r-- | dotfiles/zsh/zshrc_d/utils.source.zsh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dotfiles/zsh/zshrc_d/utils.source.zsh b/dotfiles/zsh/zshrc_d/utils.source.zsh index a9072e6..9232287 100644 --- a/dotfiles/zsh/zshrc_d/utils.source.zsh +++ b/dotfiles/zsh/zshrc_d/utils.source.zsh @@ -445,3 +445,24 @@ tv::git () { } zle -N tv::git bindkey -M viins '^G' tv::git + +tv::files () { + cd $(tv files) + zle accept-line +} +zle -N tv::files +bindkey -M viins '^t' tv::files + +tv::text () { + hx $(tv text) + zle accept-line +} +zle -N tv::text +bindkey -M viins '^x' tv::text + +tv:: () { + hx $(tv ) + zle accept-line +} +zle -N tv:: +bindkey -M viins '^x' tv:: |
