Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 1.48 KB

tmux.md

File metadata and controls

64 lines (50 loc) · 1.48 KB

tmux

terminal multiplexer


Shortcuts

^ q Prefix Key ( aka Pf )

  • The description Pf, * implies that tap Pf at first and then tap the key *.
  • Pf, ⇧ ? List Keys
  • Pf, d Detach Client ( Detach Session )
  • Pf, c New Window
  • Pf, , Rename Window
  • Pf, $ Rename Session
  • Pf, s Reload config file .tmux.conf
  • Pf, \ Split Window Horizontally
  • Pf, - Split Window Vertically
  • Pf, ^ y Resize Pane Lf
  • Pf, ^ u Resize Pane Dn
  • Pf, ^ i Resize Pane Up
  • Pf, ^ o Resize Pane Rg
  • Pf, h Select Lf Pane
  • Pf, j Select Dn Pane
  • Pf, k Select Up Pane
  • Pf, l Select Rg Pane
  • Pf, ↑ Maximize Current Pane in New Window
  • Pf, ↓ Put Current Pane back to its Parent Window
  • Pf, [ Use Vim-like keys to copy str at Copy Mode

In Copy Mode:

  • v Begin Selection
  • y Copy Selection
  • u Copy Selection & Exit Copy Mode
  • ⇧ L Copy Line ( & Exit Copy Mode )

Commands

Sessions

List

$ tmux list-sessions
0: 6 windows (created Mon Sep  3 09:30:05 2018) [130x65]

Attach

tmux attach-session -t <session_number>
# e.g.
tmux attach-session -t 0