Create new session while in a session : ctrl+b :new
Rename session : ctrl+b :rename-session -t old new
Move window to another session : ctrl+b . => prompt : session-name
Navigate between sessions : ctrl+b w
-
https://links.infomee.fr/?jUGEtgbind-key M setw synchronize-panes
-
https://links.infomee.fr/?etwZbwbind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
Pressing Ctrl+Shift+Left (will move the current window to the left. Similarly right. No need to use the modifier (C-b).
-
https://superuser.com/questions/343572/how-do-i-reorder-tmux-windowspour binder ctrl tab et shift ctrl tab pour avec next/previous window il faut un peu de bricolage :
Dans iterm on peut créer des bindings :
ctrl + tab --> Send hexa -> 0x01 0x6e
shift ctrl tab --> Send hexa -> 0x01 0x70
Ces codes hexa correspondent à l'enchainement "ctrl+a n" et "ctrl+a p"
(tools utile : showkey -a sur linux)
-
https://medium.freecodecamp.org/tmux-in-practice-iterm2-and-tmux-integration-7fb0991c6c01Parfois, après avoir été déco, il arrive que mon tmux 'freeze' : je peux attach, detach, mais je ne peux rien faire dans les window
Apparement cela vient de mon client qui s'est mal détaché. Pour régler le problème :
tmux list-clients
tmux detach-client
-
https://stackoverflow.com/questions/7408068/tmux-hangs-and-do-not-load-and-do-not-respond-to-any-option-commandtmux <3
while true; do python monitor_beanstalk.py; bg_color=$([ $? == 0 ] && echo "green" || echo "red"); tmux set-window-option -t${TMUX_PANE} window-status-bg $bg_color; sleep 30; clear; done
-
https://links.infomee.fr/?OlX-xwSo <prefix>+: and then enter respawn-pane -k and press Enter
-
http://unix.stackexchange.com/questions/88392/is-there-an-easy-way-to-restart-a-tmux-paneUn tmux session manager qui a l'air facile à utiliser avec une approche original : il faut "dessiner" la conf du layout
via Doo
-
https://n0where.net/intelligent-tmux-session-management-tmuxomatic/