Created
January 19, 2012 04:03
-
-
Save yuya-matsushima/1637744 to your computer and use it in GitHub Desktop.
.tmux.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# key-mode | |
set -g status-keys vi | |
set-window-option -g utf8 on | |
# prefix を C-z に変更する | |
set-option -g prefix C-z | |
unbind-key C-b | |
bind-key C-z send-prefix | |
# マウスクリックでペイン選択 | |
#set-option -g mouse-select-panel on | |
# index start=1 | |
set-option -g base-index 1 | |
# ペインのリサイズ | |
bind -r C-h resize-pane -L 5 | |
bind -r C-l resize-pane -R 5 | |
bind -r C-j resize-pane -D 5 | |
bind -r C-k resize-pane -U 5 | |
# Split | |
# \ で縦分割、-で横分割 | |
bind \ split-window -h | |
bind - split-window -v | |
# alias | |
bind e kill-pane | |
bind E kill-window | |
bind i display-panes | |
bind y copy-mode | |
bind p paste-buffer | |
bind r source ~/.tmux.conf | |
# C-n を使えるようにする | |
# windowを切替る | |
unbind C-n | |
bind-key C-n next-window | |
# View | |
#set-option -g default-terminal screen-256color | |
set -g status-interval 5 | |
set -g status-bg white | |
set -g status-fg black | |
#scroll | |
set-window-option -g mode-mouse on | |
# 左部:whoami@hostname | |
set -g status-left '#[fg=red,bold] #20(whoami)@#H #[default]' | |
# 右部:[2011/03/06(Sun)20:21] | |
set -g status-right '#[fg=black,bold] %Y/%m/%d(%a)%H:%M #[default]' | |
set -g message-fg black | |
set -g message-bg green | |
set -g message-attr bold | |
set -g pane-active-border-fg green | |
set -g pane-active-border-bg black | |
setw -g window-status-current-fg green | |
setw -g window-status-current-bg black |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment