Add tmux session select shortcuts + scripts

This commit is contained in:
Loïc Gremaud 2024-06-09 03:15:02 +02:00
parent c32d635378
commit 6c408487f5
Signed by: Legrems
GPG Key ID: D4620E6DF3E0121D
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 5c5d2c4927d207ea31ed88fd54e2b873350c06f2 Subproject commit 953b9a791c8ef9f2bf62253ce18dccd837519be0

View File

@ -64,6 +64,7 @@ set -s escape-time 0
set-option -g default-terminal "screen-256color" set-option -g default-terminal "screen-256color"
bind-key -r f run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_sessionizer.py" bind-key -r f run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_sessionizer.py"
bind-key -r g run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_select_session.py"
bind-key -r m run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_ssh_group.py" bind-key -r m run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_ssh_group.py"
bind-key -r j run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_multi_ssh.py" bind-key -r j run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_multi_ssh.py"
bind-key -r i set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized, #[bg=red]!! ON !!,OFF}" bind-key -r i set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized, #[bg=red]!! ON !!,OFF}"