Przejdź do treści
PWA
@piecioshka

Piotr Kowalski

Developer Trener YouTuber

Learn tmux shortcuts 🇬🇧

Commands (in shell)

  • tmux list-sessions
  • tmux kill-sessions -t SESSION_ID
  • tmux show-option -g status-right — Get value of status-right
  • tmux set-option -g status-interval 1 — Set value of status-interval

Shortcuts

Legend

  • Control + b - Prefix

Window

  • Prefix + " - Split window in horizontal mode
  • Prefix + % - Split window in vertical mode
  • Prefix + n - Name pane
  • Prefix + z - Zoom in (Zoom out)
  • Prefix + q - Display pane identifiers (red color on active pane)
  • Prefix + r - Redraw pane list
  • Prefix + w - Display list of windows

Misc

  • Prefix + t - Display current time in pane

Sessions

  • Prefix + s - Display list of sessions
  • Prefix + f - Find session by id

Focus

  • Prefix + ; - Move focus to previous active pane
  • Prefix + o - Move focus to next pane
  • Prefix + LEFT | UP | DOWN | RIGHT - Move focus in direction

tpm — tmux plugin manager

tpm — Shortcuts

  • Prefix + I - Install new plugins
  • Prefix + U - Update
  • Prefix + alt + U - Remove plugin

tpm — Plugins

Sources