tmux

tmux 설치: https://github.com/tmux/tmux

필요한 패키지 설치

$ sudo apt install libevent-dev libcurses-ocaml-dev

tmux plugin manager 설치

$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

tmux option 설정

$ vi ~/.tmux.conf
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'

set -g mouse on
set -g destroy-unattached on
setw -g monitor-activity on
set -g visual-activity on
set -g default-terminal "screen-256color"
set -g history-limit 30000

set -g base-index 1
set -g pane-base-index 1

# Pane splitting.
bind \ split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"

run '~/.tmux/plugins/tpm/tpm'
Advertisements