[TMUX] Konfigurasi Tmux pada Ubuntu 14.04

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:

  1. Instal tmux: sudo apt-get install tmux
  2. Uji hasil instalasi: tmux
    Screenshot from 2015-08-12 19:22:44
  3. Konfigurasi sesuai keinginan kita: sudo nano .tmux.conf
  4. Contoh:#ganti ctrl+c dengan ctrl+a
    unbind C-b
    set -g prefix C-a
    #pindah pane dengan alt+panah
    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 50

    selectp -t 1
    splitw -v -p 50
    selectp -t 0

  5. Hasil akhir
    Screenshot from 2015-08-12 19:24:11

Demikian, semoga bermanfaat.

Terima kasih

signature
signature

Leave a Reply