Skip to content

An oh-my-zsh plugin that adds fuzzy search for directories "warped" with WD Zsh plugin

License

Notifications You must be signed in to change notification settings

spodin/zsh-fuzzy-wd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

zsh-fuzzy-wd

Made in Ukraine Awesome zsh plugins

An oh-my-zsh plugin that adds fuzzy search for directories "warped" with WD Zsh plugin.

zsh-fuzzy-wd-demo

Requirements

Installation

  1. Clone repository into Oh My Zsh custom plugins directory:

    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
      ...
    )  
    

Usage

  1. Add directories as warp points using WD plugin, e.g.:

    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:

    bindkey -r "^B"                # unbind (optionally)
    bindkey '^G' fuzzy_wd_widget   # bind to Ctrl+G
  • Set FZF_WD_BINDKEY environment variable:

    export FZF_WD_BINDKEY="^G"

About

An oh-my-zsh plugin that adds fuzzy search for directories "warped" with WD Zsh plugin

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages