Skip to content

An antigen plugin to have a cool search keybinding with fzf and (optionally) bat

License

Notifications You must be signed in to change notification settings

leophys/zsh-plugin-fzf-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Screenshot

Example

About

An antigen plugin to have a cool search keybinding with fzf and (optionally) bat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages