Skip to content

Instantly share code, notes, and snippets.

@rizsotto
Last active December 16, 2015 21:20
Show Gist options
  • Save rizsotto/5498619 to your computer and use it in GitHub Desktop.
Save rizsotto/5498619 to your computer and use it in GitHub Desktop.
# C-b is not acceptable -- Vim uses it
set-option -g prefix C-s
#bind-key C-a last-window
# Start numbering at 1
set -g base-index 1
# Allows for faster key repetition
set -s escape-time 0
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left ""
set -g status-right "#[fg=green]#T"
# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on
# Allows us to use C-a a <command> to send commands to a TMUX session inside
# another TMUX session
bind-key a send-prefix
# Activity monitoring
setw -g monitor-activity on
set -g visual-activity on
# Highlight active window
set-window-option -g window-status-current-bg red
# bind a reload key
bind R source-file ~/.tmux.conf \; display-message " Config reloaded..".
# make the copy mode like vi
setw -g mode-keys vi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment