Skip to content

Instantly share code, notes, and snippets.

@fredoliveira
Created March 27, 2012 04:05
Show Gist options
  • Save fredoliveira/2212443 to your computer and use it in GitHub Desktop.
Save fredoliveira/2212443 to your computer and use it in GitHub Desktop.
Tmux config file
# new prefix
set -g prefix C-a
unbind C-b
# reload the config
bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"
# set the shell
set -g default-command /bin/zsh
set -g default-shell /bin/zsh
# remove delay
set -sg escape-time 1
# make windows start at 1
set -g base-index 1
# same for panes
setw -g pane-base-index 1
# bind send-prefix to our prefix so that we can send it when we need it
bind C-a send-prefix
# easier split
bind | split-window -h
bind - split-window -v
# colors!
set -g default-terminal "screen-256color"
# status bar
set -g status-fg colour167
set -g status-bg colour233
# command mode
set -g message-bg colour233
set -g message-fg colour167
# windows in status bar
set -g window-status-fg colour161
set -g window-status-bg colour233
# current window in status bar
set -g window-status-current-fg colour206
set -g window-status-current-bg colour234
# pane borders
set -g pane-border-fg colour235
set -g pane-border-bg colour233
set -g pane-active-border-fg colour235
set -g pane-active-border-bg colour233
# status bar config
set -g status-right "#H #[fg=colour24][%d %b %R]"
# activity monitor on windows
setw -g monitor-activity on
set -g visual-activity on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment