Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 30th, 2012  |  syntax: None  |  size: 1.61 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Ctrl + b is default to enter before you enter the commands
  2. M = Left Alt key
  3.  
  4. Windows
  5. -------
  6.     c           Create a new window.
  7.     &           Kill the current window.
  8.     n           Change to the next window.
  9.     p           Change to the previous window.
  10.     ,           Rename the current window.
  11.     l           Move to the previously selected window.
  12.     w           Choose the current window interactively.
  13.     M-n         Move to the next window with a bell or activity marker.
  14.     M-p         Move to the previous window with a bell or activity marker.
  15. Panes
  16. -----
  17.     "           Split the current pane into two, top and bottom.
  18.     %           Split the current pane into two, left and right.
  19.     x           Kill the current pane.
  20.     ;           Move to the previously active pane.
  21.     o           Select the next pane in the current window.
  22.     !           Break the current pane out of the window.
  23.     q           Briefly display pane indexes.
  24. Other
  25. -----
  26.     d           Detach the current client.
  27.     $           Rename the current session.
  28.     [           Enter copy mode to copy text or view the history.
  29.     f           Prompt to search for text in open windows.
  30.     r           Force redraw of the attached client.
  31.     L           Switch the attached client back to the last session.
  32.  
  33. Create a new session
  34. --------------------
  35.  
  36.     tmux
  37.     tmux new
  38.     tmux new-session
  39.  
  40. Reattach to a session
  41. ---------------------
  42.  
  43.     tmux attach
  44.     tmux attach-session
  45.  
  46. List sessions
  47. -------------
  48.  
  49.     tmux ls
  50.     tmux list-sessions
  51.  
  52. References
  53. ----------
  54.  
  55.   * http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1#KEY+BINDINGS