pass #{pane_current_path} to _fpp() and then to split-window
This commit is contained in:
parent
9a2387c0c7
commit
6242e4974f
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# "$@"
|
# "$@"
|
||||||
|
|
Loading…
Reference in a new issue