Skip to content

Commit d1e22c6

Browse files
committed
Update tmux
1 parent 2e87967 commit d1e22c6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

home/dot_tmux.conf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ bind-key h display-popup \
9696
-w 40% \
9797
-h 90% \
9898
-E "man-apropos-fzf.sh"
99+
# Switch between session
100+
bind-key C-j display-popup \
101+
-w 20% \
102+
-h 40% \
103+
-E "tmux list-sessions -F '###I #{p20:session_name}- #{session_windows} windows' | grep -v \"^$(tmux display-message -p '###I #S')\" | fzf --reverse --bind \"enter:become(tmux switch-client -t {2})\""
104+
105+
# Switch between windows
106+
# bind-key W display-popup \
107+
# -E "tmux list-windows -F '#W' | grep -v \"^$(tmux display-message -p '#W')\$\" | fzf --reverse | xargs tmux select-window -t"
108+
99109

100110
# Automatic installation of TPM
101111
if "test ! -d ~/.config/tmux/plugins/tpm" \

0 commit comments

Comments
 (0)