X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=tmux%2F.tmux%2Ffunctions.zsh%2Ftmux-fzf-find;fp=tmux%2F.tmux%2Ffunctions.zsh%2Ftmux-fzf-find;h=c114afd799d2d6b24f39efa4b7a5e7e33710bca7;hb=947b45d4141f02e02155b73725b93acfb493c7c0;hp=0000000000000000000000000000000000000000;hpb=b35ac159155c45e2bfe037ea39f0ef66abeef5d4;p=dotfiles.git diff --git a/tmux/.tmux/functions.zsh/tmux-fzf-find b/tmux/.tmux/functions.zsh/tmux-fzf-find new file mode 100644 index 0000000..c114afd --- /dev/null +++ b/tmux/.tmux/functions.zsh/tmux-fzf-find @@ -0,0 +1,6 @@ +bfs -L . -mindepth 1 \ + -path "*/.git" -prune -o \ + -path "*/.redo" -prune -o \ + \( -type f -o -type d -o -type l \) -print | +cut -c3- | fzf -m --preview="less -N -S {}" | +while read fn ; do print ${(q)fn} ; done