tmux cheatsheet

|

Installation

brew install tmux
cd ~/
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .

용어

  • prefix: ctrl + b
  • session > window > pane

사용법

Session

  command
create session tmux new -s session_name
delete session tmux kill-session -t session_name
attach tmux attach -t session_name
detach prefix + d
session list tmux ls

Window

  command
new window prefix + c
switch window prefix + <num>
rename window prefix + ,
window list prefix + w

Pane

  command
split horizontal prefix + %
split vertical prefix + "
move pane prefix + q + <num> or prefix + arrow-key
zoom in/out pane prefix + z
resize-pane prefix + :resize-pane -D 10