tmux는 기본적으로 ctrl-b 단축키로 모드 전환하는데
screen이 ctrl-a를 쓰다보니 대부분 바꾸어서 쓰는듯.
| $ cat ~/.tmux.conf # remap prefix to Control + a set -g prefix C-a # bind 'C-a C-a' to type 'C-a' bind C-a send-prefix unbind C-b |
| C-a c 새 창 열기 C-a 0~9 창 이동 단축키 C-a n 다음 창 C-a p 이전 창 C-a " 세로 패널 나누기 C-a % 가로 패널 나누기 C-a 방향키 해당 방향 으로 패널 이동 |
[링크 : https://gist.github.com/andreyvit/2921703]
얘도 동일하게 detach가 있나보다.
| C-a d detach |
[링크 : https://blog.naver.com/jaydee88/221330638931]
기본으로는 안되고 단축키를 할당해주어야 마우스로 패널 크기 조정이 가능한가보다.
| set -g mouse on setw -g mode-keys vi # Use Alt-arrow keys without prefix key to switch panes bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D # Shift arrow to switch windows bind -n S-Left previous-window bind -n S-Right next-window # scrollback buffer size increase set -g history-limit 100000 # change window order bind-key -n C-S-Left swap-window -t -1 bind-key -n C-S-Right swap-window -t +1 # disable window name auto change set-option -g allow-rename off # bar color set -g status-bg black set -g status-fg white # toggle pane title visibility bind T run 'zsh -c "arr=( off top ) && tmux setw pane-border-status \${arr[\$(( \${arr[(I)#{pane-border-status}]} % 2 + 1 ))]}"' # rename pane bind t command-prompt -p "(rename-pane)" -I "#T" "select-pane -T '%%'" |
'파일방' 카테고리의 다른 글
| appimage , AppImageLauncher (0) | 2026.04.20 |
|---|---|
| usb device tree viewer (0) | 2026.02.22 |
| exaone 경량 모델 (0) | 2026.02.04 |
| podman (0) | 2026.01.25 |
| elinks (0) | 2026.01.20 |
