# set the prefix to ^G
-set -g history-limit 100000
-
+set -g default-terminal screen-256color
+set -g history-limit 100000
set -g mouse-select-pane on
setw -g mode-mouse on
-set -g status-keys vi
-setw -g mode-keys vi
+set -g status-keys vi
+setw -g mode-keys vi
+set -s escape-time 100
unbind C-b
set -g prefix C-g
bind C-g send-prefix
bind -n F5 source ~/.tmux.conf
+bind -n F9 set status
bind -n M-x command-prompt
-bind n next-window
-bind p previous-window
-bind s command-prompt "split-window -v '%%'"
-bind S command-prompt "split-window -v '%%'"
-bind v command-prompt "split-window -h '%%'"
+bind d detach
+bind -n C-\ detach
+
+bind n next-window
+bind C-n next-window
+bind p previous-window
+bind C-p previous-window
+bind s command-prompt "split-window -v '%%'"
+bind S command-prompt "split-window -v '%%'"
+bind v command-prompt "split-window -h '%%'"
bind C-v command-prompt "split-window -h '%%'"
bind Enter new-window
+bind r command-prompt "new-window '%%'"
bind c confirm-before kill-pane
bind x confirm-before kill-pane
bind ! command-prompt -p Man: "split-window 'man %%'"
##############################################################################
# Bells
-set -g visual-activity on
-set -g visual-bell off
-set -g bell-action any
-setw -g monitor-activity on
+set -g visual-activity on
+set -g visual-bell off
+set -g bell-action any
+setw -g monitor-activity off
##############################################################################
# Theme
set -g message-attr bright
# default window title colors
-setw -g window-status-fg cyan
+setw -g window-status-fg white
setw -g window-status-bg default
setw -g window-status-attr dim
+setw -g window-status-format '#I #W#F'
+setw -g window-status-current-format '#[fg=red,nobold][#[fg=white,bold]#I #W#F#[fg=red,nobold]]'
+
+set -g pane-border-bg default
+set -g pane-border-fg default
+set -g pane-active-border-bg default
+set -g pane-active-border-fg red
+
# active window title colors
setw -g window-status-current-fg white
setw -g window-status-current-bg default