Skip to content

Instantly share code, notes, and snippets.

@i4kimura
Created January 3, 2015 00:51
Show Gist options
  • Save i4kimura/c359a861e5a55809cc0e to your computer and use it in GitHub Desktop.
Save i4kimura/c359a861e5a55809cc0e to your computer and use it in GitHub Desktop.
.tmux.conf configuration file
# base settings
## disable ESC delay
set -s escape-time 0
# key mappings
## vi binding
set-window-option -g mode-keys vi
## set prefix (^T)
unbind C-b
set -g prefix ^T
bind a send-prefix
## last window (^t)
unbind ^A
bind ^t last-window
## reload config (r)
bind r source-file ~/.tmux.conf; display-message "Reload Config!!"
# base index at 1
set -g base-index 1
set -g pane-base-index 1
# color settings
## enable 256 color
# set-option -g default-terminal "screen-256color"
## status line
# set -g status-fg white
# set -g status-bg colour234
## pane border
set -g pane-border-fg colour245
set -g pane-active-border-fg colour39
# status line
## reload every 1sec
set -g status-interval 1
## left
set -g status-left-length 32
set -g status-left '#[fg=colour244] #h [#S:#I.#P] |'
## main
set -g window-status-format " #I #W #F "
set -g window-status-current-format "#[fg=white,bg=colour237] #I #W #F "
## right
set -g status-right-length 150
set -g status-right '#[fg=colour244]%Y/%m/%d(%a) %H:%M:%S '
## message
set -g message-attr bold
set -g message-fg white
set -g message-bg red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment