Skip to content

Instantly share code, notes, and snippets.

@spencerwi
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spencerwi/dec89289564b24287b80 to your computer and use it in GitHub Desktop.
Save spencerwi/dec89289564b24287b80 to your computer and use it in GitHub Desktop.
tmux.conf
#Colors
BACKGROUND=black
FOREGROUND=white
setw -g status-bg $BACKGROUND
setw -g status-fg $FOREGROUND
setw -g window-status-current-bg $FOREGROUND
setw -g window-status-current-fg $BACKGROUND
set -g pane-active-border-bg default
set -g pane-active-border-fg $FOREGROUND
set -g pane-border-fg $BACKGROUND
set -g clock-mode-style 24
# Vim-style navigation of panes
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# C-b C-s syncs input across panes; useful for multiple SSH connections
bind-key ^s set synchronize-panes
# C-b C-r reloads config
bind-key ^r source-file ~/.tmux.conf \; display "Config reloaded"
# Set window titles
set -g set-titles on
set -g set-titles-string '#(whoami)@#H - #W'
setw -g automatic-rename off
# Statusbar on top, with nice formatting
setw -g window-status-attr dim
set -g status-position top
set -g status-left ' λ '
set -g status-right '[%F %R]'
set -g window-status-format '[#I: #W]'
set -g window-status-current-format '[#I: #W]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment