my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.1 KiB

3 years ago
  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 command>'
  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. ```