# fzf

fzf is a general-purpose command-line fuzzy finder.

## Installation

Install the fzf package. The development version is fzf-gitAUR.

## Configuration

This article or section needs expansion.

Reason: It should be at least mentioned that shell completer is not the only usecase which requires configuration. (Discuss in Talk:Fzf#)

Optional fzf keybindings and completion are available for various shells.

### bash

Source the desired files from your `.bashrc`:

- `/usr/share/fzf/key-bindings.bash`
- `/usr/share/fzf/completion.bash`

### zsh

Source the desired files from your `.zshrc`:

- `/usr/share/fzf/key-bindings.zsh`
- `/usr/share/fzf/completion.zsh`

### fish

For fish, keybindings are in:

- `/usr/share/fish/functions/fzf.fish`

fish will source this by default but the bindings have to be enabled manually:

    ~/.config/fish/functions/fish_user_key_bindings.fish

    function fish_user_key_bindings
    	fzf_key_bindings
    end

fzf completion in fish can be enabled with custom functions: https://github.com/junegunn/fzf/wiki/Examples-(fish)

## See also

- https://github.com/junegunn/fzf - Development page
- https://github.com/junegunn/fzf/wiki - The wiki with customization examples.

Category:

- Search

Hidden category:

- Pages or sections flagged with Template:Expansion