Tmux

作者: tom__zhu | 来源:发表于2023-11-30 16:43 被阅读0次

    Using Tmux on MacOS

    To start Tmux just run the following command:

    tmux
    

    You can create a new session using the command below:

    tmux new-session -s <your_session_name>
    

    To view available sessions, enter the following command:

    tmux list-sessions
    

    Run the command below to detach from your session when you are done:

    tmux detach
    

    And to reattach to your Tmux session when you are ready to continue working using the following command:

    tmux attach -t <your_session_name>
    

    Here are some of the usual shortcuts to use Tmux:

    **–> Ctrl-b ?: **Show all commands

    **–> Ctrl+b c: **Create a new window

    –> Ctrl-b o: Switch

    –> Ctrl+b arrow key: Switch pane

    **–> Ctrl+b “: **Split horizontally

    –> **Ctrl+b %: **Split vertically

    –> Ctrl+b n: Next

    –> Ctrl+b p: Previous

    Tutorial Install And Use Tmux on MacOS

    相关文章

      网友评论

          本文标题:Tmux

          本文链接:https://www.haomeiwen.com/subject/gyawwdtx.html