Guest User

Untitled

a guest
Feb 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. # Tmux cheatsheet
  2.  
  3. The prefix key is C-a
  4.  
  5. From terminal:
  6.  
  7. tmux new -s <session-name> Create and attach to new session
  8. tmux attach -t <session-name> Attach to existing session
  9. tmux new -t <target-session> -s <session-name> Create new <session-name> that is grouped with <target-session>
  10.  
  11. Session:
  12.  
  13. C-a d detach from tmux
  14. C-a s choose a session from a list
  15.  
  16. Windows:
  17.  
  18. C-a n next window
  19. C-a p previous window
  20. C-a 1 ... switch to window 0,1...9
  21. C-a , rename window
  22. C-a . reindex window
  23. C-a c create new window
  24. C-a ' vertical split
  25. C-a " horizontal split
  26.  
  27. Pane:
  28.  
  29. C-a h focus on right pane
  30. C-a l focus on left pane
  31. C-a j focus on upper pane
  32. C-a k focus on lower pane
Add Comment
Please, Sign In to add comment