Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 19a16b2289
Fetching contributors…

Cannot retrieve contributors at this time

file 48 lines (37 sloc) 1.195 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
# .tmux.conf
#set-option -g default-command "reattach-to-user-namespace -l zsh"

# map leader shortcut like screen
set -g prefix C-a

# Status bar
set -g status-bg black
set -g status-fg white
set -g status-left "#[fg=green]#(hostname | cut -f 1 -d.)"
set -g status-right '#[fg=red]#(date +"%l:%M")'

# default window title colors
set-window-option -g window-status-fg white
set-window-option -g window-status-bg default
set-window-option -g window-status-attr dim

# active window title colors
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg default
set-window-option -g window-status-current-attr bright

# vi mode
set-window-option -g mode-keys vi

# don't care what happens in another window
setw -g monitor-activity off
set -g visual-activity off

# splitting of windows
unbind % # Remove default binding since we’re replacing
bind | split-window -h
bind - split-window -v

# mouse scrolling and selection
setw -g mode-mouse on

# vim splits style movement
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

# previous window
bind m last-window

# scrollback history limit
set -g history-limit 32768
Something went wrong with that request. Please try again.