diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-07-01 13:09:13 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-07-01 13:09:41 -0500 |
commit | ce32b2fcac07d423e96c3585d488ee5eeebce235 (patch) | |
tree | 0e2ad50c0ab7b6efaff897f9b7d9d37e80eca443 /tmux/.local | |
parent | b36ef9f204e4ba9cf1dc0bbcaf68b7f6f8aed039 (diff) |
fix(tmux): improve display of paths
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 |