https://github.com/spodin/zsh-fuzzy-wd
An oh-my-zsh plugin that adds fuzzy search for directories "warped" with WD Zsh plugin
https://github.com/spodin/zsh-fuzzy-wd
oh-my-zsh oh-my-zsh-plugin zsh
Last synced: 6 months ago
JSON representation
An oh-my-zsh plugin that adds fuzzy search for directories "warped" with WD Zsh plugin
- Host: GitHub
- URL: https://github.com/spodin/zsh-fuzzy-wd
- Owner: spodin
- License: mit
- Created: 2021-10-19T16:49:20.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-23T23:27:36.000Z (11 months ago)
- Last Synced: 2025-04-15T03:55:24.016Z (6 months ago)
- Topics: oh-my-zsh, oh-my-zsh-plugin, zsh
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zsh-fuzzy-wd
[](https://ukraine.ua) [](https://github.com/unixorn/awesome-zsh-plugins)
An [oh-my-zsh](https://ohmyz.sh) plugin that adds fuzzy search for directories "warped" with WD Zsh plugin.
## Requirements
- Oh My Zsh
- [Fuzzy finder](https://github.com/junegunn/fzf)
- [WD plugin](https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/wd/README.md)## Installation
1. Clone repository into Oh My Zsh custom plugins directory:
```bash
git clone https://github.com/spodin/zsh-fuzzy-wd.git ~/.oh-my-zsh/custom/plugins/zsh-fuzzy-wd
```2. Enable it by adding `zsh-fuzzy-wd` to the plugins array in `~/.zshrc`:
```
plugins=(
...
zsh-fuzzy-wd
...
)
```
## Usage1. Add directories as warp points using WD plugin, e.g.:
```bash
cd ~/Documents
wd add docs
```
2. Press `^B` to activate plugin, filter paths by typing and press `Enter` to change directory.### Rebind activation key
To rebind default activation key (`^B`) one of methods below can be used:
- Add this to your `~/.zshrc` config:
```bash
bindkey -r "^B" # unbind (optionally)
bindkey '^G' fuzzy_wd_widget # bind to Ctrl+G
```
- Set `FZF_WD_BINDKEY` environment variable:```bash
export FZF_WD_BINDKEY="^G"
```