Search code examples
tmux

Is there a tmux shortcut to create a new session?


Just like leader_key + C creates a new window inside a session. Is there a similar shortcut for creating a new session ? Currently, I use leader_key + new


Solution

  • There are no predefined shortcuts, the only native way to do it is :

    • Create session: tmux new -s session_name

    • Ctrl-B + d to detach

    • Return to your session: tmux attach-session -t session_name