Bismillah,
Apa itu tmux?
tmux is a terminal multiplexer. What is a terminal multiplexer? It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. And do a lot more.
Langkah-langkah:
- Instal tmux:
sudo apt-get install tmux
- Uji hasil instalasi:
tmux
- Konfigurasi sesuai keinginan kita:
sudo nano .tmux.conf
- Contoh:
#ganti ctrl+c dengan ctrl+a
#pindah pane dengan alt+panah
unbind C-b
set -g prefix C-a
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#activity monitor
setw -g monitor-activity on
set -g visual-activity on#highlight windows
set-window-option -g window-status-current-bg yellow
set-option -g mouse-select-pane on#membuat 3 pane secara default
selectp -t 0
splitw -h -p 50selectp -t 1
splitw -v -p 50
selectp -t 0 - Hasil akhir
Demikian, semoga bermanfaat.
Terima kasih