Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 1.49 KB

README.md

File metadata and controls

71 lines (50 loc) · 1.49 KB

fzf-tab widgets

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

demo

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