Skip to content

Instantly share code, notes, and snippets.

@bscott
Forked from anonymous/tmux.conf
Created May 19, 2013 23:05
Show Gist options
  • Save bscott/5609432 to your computer and use it in GitHub Desktop.
Save bscott/5609432 to your computer and use it in GitHub Desktop.
dotFiles
# 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
colorscheme ir_black
UnBundle 'numbers.vim'
let mapleader = ","
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment