Awesome
zsh plugin fzf finder
Shamelessly inspired from @ael-code zsh fasd plugin ;)
A zsh plugin to search in the local tree of subdirectories for files (just files! No directories nor links).
It is powered by fzf, and supports bat and fd (falling back to
cat
and find
).
The quick jump functionality is bound on
- ALT-e to search and feed the result to the `$EDITOR`
- ALT-r to search and feed the result to the `$PAGER`
but can be overridden by exporting FZF_FINDER_EDITOR_BINDKEY
and/or
FZF_FINDER_PAGER_BINDKEY
before sourcing
Custom arguments for fd
and find
can be passed by setting respectively FZF_FINDER_FD_OPTS
and FZF_FINDER_FIND_OPTS
.
For example, adding export FZF_FINDER_FD_OPTS="--hidden -t f"
to your .zshrc
will make fd
search for hidden files.
Install
Antigen
antigen bundle leophys/zsh-plugin-fzf-finder
zr
zr load leophys/zsh-plugin-fzf-finder