문서의 이전 판입니다!
tmux 기본을 살펴보기 좋은 글<Ctrl-b> : 기본 단축키, 손가락이 아픈 위치임.<Ctrl-a>로 변경하자 - ~/.tmux.conf 파일 Tmux Key Binding Issueunbind C-b set -g prefix C-a # Ctrl-a 자체를 발생시킨다. bind-key C-a send-prefix
source-file ~/.tmux.conf
<prefix>: : 명령행 나옴setw synchronize-panes on 명령 off로 바꾸면 명령 동시 입력 해제 on/off 없이 그냥 하면 toggle~/.tmux.conf에 할당 <prefix>y bind-key y set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}"
<prefix>z : 특정 pane 최대화 toggle<prefix>% : 세로 Pane 열기<prefix>" : 가로 Pane 열기<prefix>[Up, Down, Right, Left] : 열린 Pane들간 이동<prefix>; : 이전 창으로 가기<prefix><Ctrl-o> : 현재 Pane 위치 이동<prefix><Ctrl-Up[Down][Left][Right]> : Pane 크기 조정 1칸씩<prefix><Meta-Up[Down][Left][Right]> : Pane 크기 조정 5칸씩<prefix>x : 닫기<prefix>c : 새 창<prefix>n : 다음 창<prefix>p : 이전 창<prefix>w : 창 선택<prefix>& : 창 닫기rename-window <새이름><prefix>, <새이름><Prefix>[ : 스크롤시작<ESC> 혹은 q : 스크롤 종료tmux ls : 세션 목록tmux kill-session -t <ID>tmux도 지원함..tmux.conf 예제. vi mode