tmux commands quick tips
All commands are prefixed with CTRL+b
% - vsplit " - horizontal split Z - make active pane large c - new window / pane 0-xyz - switch to that named window d - detach, or just tmux detach s - show the sessions
To swap windows use the swap-window command To move the current window down one, or up one respectively.
swap-window -t -1 swap-window -t +1
commands when you are at the command line
tmux ls will list all the active windows tmux attach -t "session name" tmux kill-session -t "session name"
example that outputs the pid to stdout
tmux new -c /working/directory -P -F '#{pid}' -d -s session-name "/bin/command_to_run"
Other cheat sheets