Some widgets I use with the brilliant fzf-tab, ymmv!
export fzfTabBookmarks=(
~/bin
~/Downloads
~/project
~/tmp
)
bindkey '^B' 'fzf-tab-complete-bookmarks'
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
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
.
Depends on fzf and fzf-tab so install them, then one of these..
zplug "tom-power/fzf-tab-widgets", at:main
# note https://github.com/Aloxaf/fzf-tab/issues/177
antigen bundle tom-power/fzf-tab-widgets --branch=main
git clone https://github.com/tom-power/fzf-tab-widgets ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab-widgets
plugins=(... fzf-tab-widgets)
git clone https://github.com/tom-power/fzf-tab-widgets ~/.zsh/fzf-tab-widgets
source ~/.zsh/fzf-tab-widgets/fzf-tab-widgets.plugin.zsh