diff options
| author | ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com> | 2024-05-21 20:48:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-21 20:48:54 +0200 |
| commit | f6b3fc84d192274f245a7322c3994767c5e68691 (patch) | |
| tree | 04c3a062f46f5fdbe0cd049475d01dad98e2261b /plugins/wd/wd.plugin.zsh | |
| parent | 04b66b230857fb9bc28af5e7590b09ff79f888fa (diff) | |
| download | zsh-f6b3fc84d192274f245a7322c3994767c5e68691.tar.gz zsh-f6b3fc84d192274f245a7322c3994767c5e68691.tar.bz2 zsh-f6b3fc84d192274f245a7322c3994767c5e68691.zip | |
feat(wd): update to version v0.7.0 (#12436)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
Diffstat (limited to 'plugins/wd/wd.plugin.zsh')
| -rw-r--r-- | plugins/wd/wd.plugin.zsh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/wd/wd.plugin.zsh b/plugins/wd/wd.plugin.zsh index 9e0c7ff13..9910cb968 100644 --- a/plugins/wd/wd.plugin.zsh +++ b/plugins/wd/wd.plugin.zsh @@ -14,7 +14,8 @@ eval "wd() { source '${0:A:h}/wd.sh' }" wd > /dev/null -# Register the function as a Zsh widget -zle -N wd_browse -# Bind the widget to a key combination -bindkey '^G' wd_browse +zle -N wd_browse_widget +zle -N wd_restore_buffer +autoload -Uz add-zle-hook-widget +add-zle-hook-widget line-init wd_restore_buffer +bindkey ${FZF_WD_BINDKEY:-'^B'} wd_browse_widget |
