Awesome
fzf-tab widgets
Some widgets I use with the brilliant fzf-tab, ymmv!
Bookmarks
export fzfTabBookmarks=(
~/bin
~/Downloads
~/project
~/tmp
)
bindkey '^B' 'fzf-tab-complete-bookmarks'
Recent directories
bindkey '^E' 'fzf-tab-complete-recent-dirs'
- only includes directories that currently exist, can use
dirs
to review deleted - find persisting dirstack like this useful
Find
export fzfTabFindKeep=1000
bindkey '^F' 'fzf-tab-complete-find'
recursively find files/directories under your current location, dot files/directories excluded, keeps up to $fzfTabFindKeep
.
Installation
Depends on fzf and fzf-tab so install them, then one of these..
Zplug
zplug "tom-power/fzf-tab-widgets", at:main
Antigen
# note https://github.com/Aloxaf/fzf-tab/issues/177
antigen bundle tom-power/fzf-tab-widgets --branch=main
Oh My Zsh
git clone https://github.com/tom-power/fzf-tab-widgets ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab-widgets
plugins=(... fzf-tab-widgets)
Manual
git clone https://github.com/tom-power/fzf-tab-widgets ~/.zsh/fzf-tab-widgets
source ~/.zsh/fzf-tab-widgets/fzf-tab-widgets.plugin.zsh