Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Atlas34/fzf-plugin
Extracted fzf plugin from ohmyzsh repo and packaged to be used by my ZSH plugin manager .
https://github.com/Atlas34/fzf-plugin
Last synced: 25 days ago
JSON representation
Extracted fzf plugin from ohmyzsh repo and packaged to be used by my ZSH plugin manager .
- Host: GitHub
- URL: https://github.com/Atlas34/fzf-plugin
- Owner: Atlas34
- License: mit
- Created: 2023-01-07T14:50:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T15:28:43.000Z (about 2 years ago)
- Last Synced: 2024-09-01T08:06:12.510Z (5 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - fzf-plugin (⭐0) - [oh-my-zsh (⭐172k)](https://github.com/ohmyzsh/ohmyzsh)'s `fzf` plugin extracted so it can be used easily with other plugin managers. (Recently Updated / [Aug 30, 2024](/content/2024/08/30/README.md))
README
# :electric_plug: fzf-plugin :electric_plug:
Extracted fzf plugin from [ohmyzsh repository](https://github.com/ohmyzsh/ohmyzsh) and packaged so it can be used by my ZSH plugin manager.
## fzf
This plugin tries to find [junegunn's fzf](https://github.com/junegunn/fzf) based on where
it's been installed, and enables its fuzzy auto-completion and key bindings.To use it, add `fzf` to the plugins array in your zshrc file:
```zsh
use "Atlas34/fzf-plugin"
```## Settings
All these settings should go in your zshrc file, before Oh My Zsh is sourced.
### `FZF_BASE`
Set to fzf installation directory path:
```zsh
export FZF_BASE=/path/to/fzf/install/dir
```### `FZF_DEFAULT_COMMAND`
Set default command to use when input is tty:
```zsh
export FZF_DEFAULT_COMMAND=''
```If not set, the plugin will try to set it to these, in the order in which they're found:
- [`fd`](https://github.com/sharkdp/fd)
- [`rg`](https://github.com/BurntSushi/ripgrep)
- [`ag`](https://github.com/ggreer/the_silver_searcher)### `DISABLE_FZF_AUTO_COMPLETION`
Set whether to load fzf auto-completion:
```zsh
DISABLE_FZF_AUTO_COMPLETION="true"
```### `DISABLE_FZF_KEY_BINDINGS`
Set whether to disable key bindings (CTRL-T, CTRL-R, ALT-C):
```zsh
DISABLE_FZF_KEY_BINDINGS="true"
```