Skip to content

Instantly share code, notes, and snippets.

@jcchurch
Last active May 13, 2016 14:52
Show Gist options
  • Save jcchurch/5176279 to your computer and use it in GitHub Desktop.
Save jcchurch/5176279 to your computer and use it in GitHub Desktop.
My TMUX configuration file.
# Act like GNU screen
unbind C-b
set -g prefix C-a
bind-key C-a last-window
setw -g aggressive-resize on
# Reload tmux conf
bind-key r source-file ~/.tmux.conf
# Look good
set -g default-terminal "screen-256color"
# Set status bar
set -g status-bg white
set -g status-fg black
# Highlight active window
set-window-option -g window-status-current-bg red
# Act like vi
setw -g mode-keys vi
# Act like vi when navigating panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Start numbering from index 1
set -g base-index 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment