pass #{pane_current_path} to _fpp() and then to split-window

This commit is contained in:
Alan Oliveira 2022-05-21 18:39:43 +09:00 committed by Gregory Pakosz
parent 9a2387c0c7
commit 6242e4974f
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ bind U run "cut -c3- ~/.tmux.conf | sh -s _urlview #{pane_id}"
# -- facebook pathpicker -------------------------------------------------------
bind F run "cut -c3- ~/.tmux.conf | sh -s _fpp #{pane_id}"
bind F run "cut -c3- ~/.tmux.conf | sh -s _fpp #{pane_id} #{pane_current_path}"
# -- list choice (tmux < 2.4) --------------------------------------------------
@ -1485,7 +1485,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
#
# _fpp() {
# tmux capture-pane -J -S - -E - -b "fpp-$1" -t "$1"
# tmux split-window "tmux show-buffer -b fpp-$1 | fpp || true; tmux delete-buffer -b fpp-$1"
# tmux split-window -c $2 "tmux show-buffer -b fpp-$1 | fpp || true; tmux delete-buffer -b fpp-$1"
# }
#
# "$@"