1
0
Fork 0
mirror of synced 2024-12-21 22:31:06 -05:00

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

View file

@ -106,7 +106,7 @@ bind U run "cut -c3- ~/.tmux.conf | sh -s _urlview #{pane_id}"
# -- facebook pathpicker ------------------------------------------------------- # -- 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) -------------------------------------------------- # -- list choice (tmux < 2.4) --------------------------------------------------
@ -1485,7 +1485,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# #
# _fpp() { # _fpp() {
# tmux capture-pane -J -S - -E - -b "fpp-$1" -t "$1" # 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"
# } # }
# #
# "$@" # "$@"