X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=tmux%2Fbin%2Ftmux-fzf.zsh;fp=tmux%2Fbin%2Ftmux-fzf.zsh;h=2eff748fa4f987497a95db223907629a1f46ff0a;hb=a1c11e1b2ac1d730148d5b0e47c53c7e2d74db87;hp=7f119cb64096b03053b4953354533241a1c29304;hpb=3a3e9ecec383859e505fe5b63cc4792e3a56522d;p=dotfiles.git diff --git a/tmux/bin/tmux-fzf.zsh b/tmux/bin/tmux-fzf.zsh index 7f119cb..2eff748 100755 --- a/tmux/bin/tmux-fzf.zsh +++ b/tmux/bin/tmux-fzf.zsh @@ -14,13 +14,6 @@ case $1 in cut -c3- | fzf -m --preview="less -N -S {}" | while read fn ; do print ${(q)fn} ; done > $tmp ;; -(buf-files) - tmux capture-pane -J - tmux save-buffer $tmp.capture - trap "rm -f $tmp.capture" HUP PIPE INT QUIT TERM EXIT - tmux delete-buffer - pe < $tmp.capture > $tmp - ;; (git-files) git status --short | fzf -m | perl -npe 's/^\s*\S+\s+//' > $tmp ;; (git-branches) { git branch ; git branch --remote } | fzf > $tmp ;; (git-commits)