Difference between revisions of "Fzf"

From ArchWiki
Jump to: navigation, search
(Add 'See also' and completion in fish)
(Add introduction)
Line 1: Line 1:
 +
fzf is a general-purpose command-line fuzzy finder.
 +
 
== Installation ==
 
== Installation ==
  

Revision as of 13:08, 23 February 2017

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

Installation

Install fzf. The development version is fzf-gitAUR.

Configuration

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/config.fish
fzf_key_bindings

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

See also