Some widgets I use with the brilliant fzf-tab, ymmv!
export bookmarks=(
~/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
bindkey '^F' 'fzf-tab-complete-find'
- list files/directories under your current location
- limited to first 10000
- dot files/directories excluded
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