Skip to content

Instantly share code, notes, and snippets.

@iori-yja
Created April 20, 2013 23:24
Show Gist options
  • Save iori-yja/5427816 to your computer and use it in GitHub Desktop.
Save iori-yja/5427816 to your computer and use it in GitHub Desktop.
bind r source-file ~/.tmux.conf
set-option -g prefix C-c
unbind-key C-b
bind-key C-c send-prefix
set-window-option -g mode-keys vi
#set-option -g default-terminal screen-256color
set-option -g default-terminal rxvt
#set-option -g status-fg colour4
set-window-option -g window-status-current-fg colour195
set-window-option -g window-status-current-attr bold,underscore
set -g status-interval 5
set -g window-status-current-bg colour24
set -g status-bg colour228 # bar-background color
set -g status-fg colour30 # bar-foreground color
set -g window-status-attr bold
set -g status-left ' #[fg=colour1][#S] #[bg=colour160] ' # left
set -g status-right '#[fg=colour32, bold]#H: #[fg=colour241, bold] %Y-%m-%d(%a) %H:%M' # right
# 縦画面分割、横画面分割をviライクに割当
bind s split-window -v
bind v split-window -h
# 分割画面への移動をviライクに割当
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# prefix + spaceでウィンドウの一覧表示
bind Space choose-window
set-option -g escape-time 10
bind-key z run pane-maximize
# pane-active-border
set -g pane-active-border-fg colour154
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment