Skip to content

Instantly share code, notes, and snippets.

@taise
Last active December 14, 2015 18:19
Show Gist options
  • Select an option

  • Save taise/5128967 to your computer and use it in GitHub Desktop.

Select an option

Save taise/5128967 to your computer and use it in GitHub Desktop.
# Prefix
set-option -g prefix C-t
# window status bar setting
set -g status-interval 10
# default
set -g status-bg colour007
set -g status-fg colour000
# left
set -g status-left-fg colour000
set -g status-left-bg colour011
# current
setw -g window-status-current-fg colour000
setw -g window-status-current-bg colour004
set-option -g default-terminal "screen-256color"
# right
set -g status-right-length 150
set -g status-right '#[bg=colour004]#[fg=colour015]%Y/%m/%d(%a) %H:%M:%S '
# pane-active-border
set -g pane-active-border-bg colour007
set -g pane-active-border-fg colour004
# copy mode
set-window-option -g mode-keys vi
# window controll
bind-key C-t last-window
bind-key A command-prompt "rename-window '%%'"
# move pain (like vim)
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# message
set -g message-attr bold
set -g message-fg colour255
set -g message-bg colour012
# reloadable tmux.conf
bind C-r source-file ~/.tmux.conf
# usage
# -tmux command
# Ctrl-T :
#
# -join
# :join-pane -s:window-num
# -sepalate
# Ctrl-T !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment