Tmux常用快捷键及命令

Exported from workflowy!
  • tmux
    • session
      • start/create session
        - tmux
        - tmux new-session -s portage
      • listing sessions
        - tmux ls
        - tmux list-sessions
        - prefix s  
      • rename session
        - rename-session -t old new
        - prefix $  
      • detach client/session
        - prefix d  
      • resuming session
        - tmux a -t portage
        - tmux attach -t portage
    • window
      • create window
        - prefix c
      • switch window
        - prefix n = Change to the next window.
        - prefix p = Change to the previous window.
        - prefix l = Move to the previously selected window.
        - prefix 0-9 = Select windows 0 to 9.
        - prefix ' = Prompt for a window index to select. Then enter a number or title to switch to that window.
      • listing windows
        - prefix w
      • rename window
        - prefix ,
      • close window
        - prefix &
    • pane
      • split pane
        - prefix " = Split the current pane into two, top and bottom.
        - prefix% = Split the current pane into two, left and right.
      • switch pane
        - prefix o = Select the next pane in the current window.
        - prefix ; = Move to the previously active pane.
        - prefix { = Swap the current pane with the previous pane.
        - prefix } = Swap the current pane with the next pane.
      • arrange pane
        - prefix Alt+1 to Alt+5
        - prefix space
      • maxmize pane
        - prefix z
      • pane number
        - prefix q
      • kill pane
        - prefix x
      • break out pane
        - prefix !
原文地址:https://www.cnblogs.com/wonux/p/6627375.html