tmux 導入

tmux 。

 

参考サイト

http://monopocket.jp/blog/programming/1834/

http://weblog.nabetama.com/post/29193390016/tmux

http://blog.catatsuy.org/a/243

https://github.com/glidenote/learning-tmux

 

1.インストール

apt-get install tmux

 

 

 

2.tmux.confの設定

Emacs ライクなキーバインドに変更。

Emacs,stumpWMとキーバインドが競合しないようにしたい。

 

~/.tmux.conf
# Prefix
set-option -g prefix C-z
# KeyBindings
unbind 1
bind 1 break-pane
bind 2 split-window -v
bind 3 split-window -h
bind C-k kill-pane
bind k kill-window

#status line
setw -g window-status-format "#I:#W"
setw -g window-status-current-format "#I:#W_#P"
set -g status-interval 10
set -g status-bg black
set -g status-fg cyan

set -g status-left-fg black
set -g status-left-bg magenta
set -g status-right-fg white
set -g status-right-bg black

set-window-option -g window-status-current-attr bright,reverse
set-window-option -g window-status-current-bg cyan
set-window-option -g window-status-current-fg black