PageRenderTime 888ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/plugins/fzf/README.md

https://github.com/Ajnasz/oh-my-zsh
Markdown | 52 lines | 33 code | 19 blank | 0 comment | 0 complexity | 3cb33768fd1bdc64abae05b14b564c90 MD5 | raw file
  1. # fzf
  2. This plugin tries to find [junegunn's fzf](https://github.com/junegunn/fzf) based on where
  3. it's been installed, and enables its fuzzy auto-completion and key bindings.
  4. To use it, add `fzf` to the plugins array in your zshrc file:
  5. ```zsh
  6. plugins=(... fzf)
  7. ```
  8. ## Settings
  9. All these settings should go in your zshrc file, before Oh My Zsh is sourced.
  10. ### `FZF_BASE`
  11. Set to fzf installation directory path:
  12. ```zsh
  13. export FZF_BASE=/path/to/fzf/install/dir
  14. ```
  15. ### `FZF_DEFAULT_COMMAND`
  16. Set default command to use when input is tty:
  17. ```zsh
  18. export FZF_DEFAULT_COMMAND='<your fzf default commmand>'
  19. ```
  20. If not set, the plugin will try to set it to these, in the order in which they're found:
  21. - [`rg`](https://github.com/BurntSushi/ripgrep)
  22. - [`fd`](https://github.com/sharkdp/fd)
  23. - [`ag`](https://github.com/ggreer/the_silver_searcher)
  24. ### `DISABLE_FZF_AUTO_COMPLETION`
  25. Set whether to load fzf auto-completion:
  26. ```zsh
  27. DISABLE_FZF_AUTO_COMPLETION="true"
  28. ```
  29. ### `DISABLE_FZF_KEY_BINDINGS`
  30. Set whether to disable key bindings (CTRL-T, CTRL-R, ALT-C):
  31. ```zsh
  32. DISABLE_FZF_KEY_BINDINGS="true"
  33. ```