Git Product home page Git Product logo

fzf-z's Introduction

fzf-z

If you're anything like me, you like fzf, you like zsh, and you like oh-my-zsh's z plugin.

However, although the z plugin does a great job of allowing you to switch between frequently-used directories just by typing z *somedirectorysubstring*, it doesn't really easily allow you to browse those directories, with partial-string search.

This zsh plugin brings together the z plugin and fzf to allow you to easily browse recently used directories at any point on the command line. For example:

    cd <CTRL-G>

Will bring up a list of recently used directories. Select one, perhaps typing to filter the list, and hit Enter - you'll change to that directory. This can be used anywhere a directory is needed, and is similar to the default Ctrl-T binding already provided by the fzf zsh key-bindings file. At the moment, this plugin doesn't allow the Ctrl-G keybinding to be customized, but you can change by simply forking the plugin and editing the file if you want.

Installation

Treat this plugin like any other zsh plugin.

Antigen

If you're using Antigen:

  1. Add antigen bundle andrewferrier/fzf-z to your .zshrc where you've listed your other plugins.
  2. Close and reopen your Terminal/iTerm window to refresh context and use the plugin. Alternatively, you can run antigen bundle andrewferrier/fzf-z in a running shell to have antigen load the new plugin.

zgen

If you're using zgen:

  1. Add zgen load andrewferrier/fzf-z to your .zshrc along with your other zgen load commands.
  2. rm ${ZGEN_INIT}/init.zsh && zgen save

fzf-z's People

Contributors

andrewferrier avatar unixorn avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cloudxtreme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.