Skip to content

Instantly share code, notes, and snippets.

@kaid
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save kaid/11033443 to your computer and use it in GitHub Desktop.

Select an option

Save kaid/11033443 to your computer and use it in GitHub Desktop.
tmux conf
set -g prefix C-q
unbind C-b
bind-key q send-prefix
bind-key z last-window
bind-key r source-file ~/.tmux.conf
set -g status-left-length 32
set -g status-right-length 150
# -------------
# Try to get close to normal colors in tmux
# -------------
set -g default-terminal "screen-256color"
# -------------
# start with window 1 (instead of 0)
# -------------
set -g base-index 1
# -------------
# start with pane 1
# -------------
set -g pane-base-index 1
# -------------
# status line
# -------------
set -g status-utf8 on
set -g status-justify left
set -g status-bg default
set -g status-fg white
set -g status-interval 4
# -------------
# window status
# -------------
setw -g window-status-format "#[fg=black]#[bg=colour7] #I #[fg=black]#[bg=colour15] #W "
setw -g window-status-current-format "#[fg=colour8]#[bg=white] #I #[bg=colour69]#[fg=white] #W "
setw -g window-status-current-bg black
setw -g window-status-current-fg yellow
setw -g window-status-current-attr bold
setw -g window-status-bg black
setw -g window-status-fg blue
setw -g window-status-attr default
# -------------
# Info on left (no session display)
# -------------
set -g status-left ''
set -g status-right-length 150
set -g status-right ""
set -g status-utf8 on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment