Difference between revisions of "Fzf"

From ArchWiki
Jump to: navigation, search
(Created page with "== Installation == Install {{pkg|fzf}}. The development version is {{AUR|fzf-git}}. == Configuration == Optional fzf keybindings and completion are available for variou...")
 
(Add 'See also' and completion in fish)
Line 33: Line 33:
 
fzf_key_bindings
 
fzf_key_bindings
 
}}
 
}}
 +
 +
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.

Revision as of 13:06, 23 February 2017

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