]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/fzf/README.md
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / fzf / README.md
1 # fzf
2
3 This plugin tries to find [junegunn's fzf](https://github.com/junegunn/fzf) based on where
4 it's been installed, and enables its fuzzy auto-completion and key bindings.
5
6 To use it, add `fzf` to the plugins array in your zshrc file:
7
8 ```zsh
9 plugins=(... fzf)
10 ```
11
12 ## Settings
13
14 All these settings should go in your zshrc file, before Oh My Zsh is sourced.
15
16 ### `FZF_BASE`
17
18 Set to fzf installation directory path:
19
20 ```zsh
21 export FZF_BASE=/path/to/fzf/install/dir
22 ```
23
24 ### `FZF_DEFAULT_COMMAND`
25
26 Set default command to use when input is tty:
27
28 ```zsh
29 export FZF_DEFAULT_COMMAND='<your fzf default command>'
30 ```
31
32 If not set, the plugin will try to set it to these, in the order in which they're found:
33
34 - [`fd`](https://github.com/sharkdp/fd)
35 - [`rg`](https://github.com/BurntSushi/ripgrep)
36 - [`ag`](https://github.com/ggreer/the_silver_searcher)
37
38 ### `DISABLE_FZF_AUTO_COMPLETION`
39
40 Set whether to load fzf auto-completion:
41
42 ```zsh
43 DISABLE_FZF_AUTO_COMPLETION="true"
44 ```
45
46 ### `DISABLE_FZF_KEY_BINDINGS`
47
48 Set whether to disable key bindings (CTRL-T, CTRL-R, ALT-C):
49
50 ```zsh
51 DISABLE_FZF_KEY_BINDINGS="true"
52 ```