dotfiles/tmux.conf

45 lines
1,016 B
Text
Raw Normal View History

2013-01-07 09:51:06 -08:00
# tmux config
# Eryn Wells <eryn@erynwells.me>
2013-01-07 09:51:06 -08:00
set -g prefix C-f
2013-01-03 10:01:36 -08:00
2013-01-07 09:51:06 -08:00
# Don't destroy sessions that have no clients attached.
set -g exit-unattached off
2013-01-03 10:01:36 -08:00
set -g default-terminal "screen-256color"
set -g history-limit 10000
# Bells from everywhere
2013-01-07 09:51:06 -08:00
set -g bell-action any
set -g visual-bell off
2013-01-03 10:01:36 -08:00
# Pass xterm titles through
set -g set-titles on
set -g set-titles-string "#T"
2013-01-07 09:51:06 -08:00
# Use vi keys for copy mode
set -g mode-keys vi
set -g repeat-time 0
# No left status; right status bar is session name
2013-01-07 09:51:06 -08:00
set -g status-bg green
set -g status-left ""
set -g status-left-attr none
set -g status-right "| #S "
set -g status-right-attr none
2012-03-14 13:59:10 -07:00
2013-01-03 10:01:36 -08:00
# Start window and pane indexing from 1 instead of 0
2012-03-14 13:59:10 -07:00
set-option -g base-index 1
set-option -g pane-base-index 1
2012-03-14 13:59:10 -07:00
# Tabs like this: " <index>:<window_name>(<pane_number>) "
2013-01-07 09:51:06 -08:00
setw -g window-status-format " #I:#W(#P) "
setw -g window-status-current-bg yellow
setw -g window-status-current-format " #I:#W(#P) "
2012-08-07 13:04:05 -07:00
2013-01-07 09:51:06 -08:00
setw -g alternate-screen on
2012-03-14 13:59:10 -07:00
2013-01-07 09:51:06 -08:00
setw -g clock-mode-style 24
2012-03-14 13:59:10 -07:00
bind-key C-a last-window