diff options
Diffstat (limited to 'tmux/.local')
-rwxr-xr-x | tmux/.local/bin/tmux-projectr | 2 | ||||
-rwxr-xr-x | tmux/.local/bin/tmux-sessions | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tmux/.local/bin/tmux-projectr b/tmux/.local/bin/tmux-projectr index 8dcbabc..082bba4 100755 --- a/tmux/.local/bin/tmux-projectr +++ b/tmux/.local/bin/tmux-projectr @@ -8,7 +8,7 @@ if [ "$#" -eq 0 ]; then # shellcheck disable=2046 set -- $( projectr -mgt ~/src ~/pkg ~/dkr ~/doc -P ~/.dotfiles --exclude-cwd | - fzf-tmux "$FZF_TMUX_OPTS" -- --tac --select-1 --exit-0 -d/ --with-nth -2.. \ + fzf-tmux "$FZF_TMUX_OPTS" -- --tac --select-1 --exit-0 -d/ --with-nth 4.. \ --bind 'focus:transform-header(echo {})' \ --preview-window='right,75%,<80(up,75%,border-bottom)' --preview="$PREVIEW_CMD" ) diff --git a/tmux/.local/bin/tmux-sessions b/tmux/.local/bin/tmux-sessions index 8a7a458..a6b3c48 100755 --- a/tmux/.local/bin/tmux-sessions +++ b/tmux/.local/bin/tmux-sessions @@ -8,6 +8,7 @@ if [ "$#" -eq 0 ]; then $FZF_CMD | fzf-tmux "$FZF_TMUX_OPTS" -- --tac --select-1 --exit-0 \ --bind "ctrl-q:execute(tmux kill-session -t{})+reload($FZF_CMD)" \ + --bind 'focus:transform-header(tmux display -t{} -p "#{session_path}")' \ --preview-window=right,80% --preview='tmux capture-pane -ep -t{}:' ) fi |