Created
May 16, 2013 15:41
-
-
Save anonymous/5592663 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change the prefix key to Ctrl-a. | |
unbind C-b | |
set -g prefix C-a | |
# Set the screen to 256 colors. | |
set -g default-terminal 'xterm-256color' | |
# Change the last active window keybinding. | |
unbind l | |
bind C-a last-window | |
# Change the copy mode keybinding. | |
unbind [ | |
bind Escape copy-mode | |
# Use Vi mode. | |
setw -g mode-keys vi | |
# Allow mouse usage to select panes. | |
set-option -g mouse-select-pane on | |
set-option -g mouse-select-window on | |
# Allow mouse usage in copy mode. | |
setw -g mode-mouse on | |
# Set the base index. | |
set-option -g base-index 1 | |
# Change the split window keybindings. | |
unbind % | |
bind | split-window -h | |
bind h split-window -h | |
unbind '"' | |
bind - split-window -v | |
bind v split-window -v | |
# Configure history limit. | |
set -g history-limit 4096 | |
# Configure the pane. | |
unbind M-Up | |
unbind M-Down | |
bind C-k resize-pane -U 5 | |
bind C-j resize-pane -D 5 | |
bind C-h resize-pane -L 5 | |
bind C-l resize-pane -R 5 | |
# Configure the status bar. | |
set -g status on | |
set -g status-utf8 on | |
set -g status-bg black | |
set -g status-fg black | |
set -g status-attr default | |
set -g status-interval 1 | |
set -g status-justify left | |
set -g status-left-fg colour20 | |
set -g status-right-bg colour0 | |
set -g status-left-length 60 | |
set -g status-left '' | |
set -g status-right '' | |
set-window-option -g window-status-fg colour244 | |
set-window-option -g window-status-bg default | |
set-window-option -g window-status-attr dim | |
set-window-option -g window-status-current-fg colour166 | |
set-window-option -g window-status-current-bg default | |
set-window-option -g window-status-current-attr bright | |
set-option -g pane-border-fg colour235 | |
set-option -g pane-active-border-fg colour240 | |
set-option -g message-bg colour235 | |
set-option -g message-fg colour166 | |
set-option -g display-panes-active-colour colour33 | |
set-option -g display-panes-colour colour166 | |
# Configure the clock. | |
set-window-option -g clock-mode-colour colour64 | |
setw -g clock-mode-style 24 | |
set-option -g set-titles on | |
set-option -g set-titles-string '[#S:#I #H] #W' | |
set-option -sg escape-time 50 | |
set-window-option -g xterm-keys on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment