We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e87967 commit d1e22c6Copy full SHA for d1e22c6
1 file changed
home/dot_tmux.conf
@@ -96,6 +96,16 @@ bind-key h display-popup \
96
-w 40% \
97
-h 90% \
98
-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
109
110
# Automatic installation of TPM
111
if "test ! -d ~/.config/tmux/plugins/tpm" \
0 commit comments