/fzf-tab-widgets

zsh plugin providing widgets for the brilliant fzf-tab :bow:

Primary LanguageShellMIT LicenseMIT

fzf-tab widgets

Some widgets I use with the brilliant fzf-tab, ymmv!

demo

Bookmarks

export bookmarks=(
  ~/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

bindkey '^F' 'fzf-tab-complete-find'
  • list files/directories under your current location
  • limited to first 10000
  • dot files/directories excluded

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