setw -g clock-mode-colour white
setw -g clock-mode-style 24
+# Scrollback buffer.
+set -g history-limit 4096
+
################################################################################
# Screen compatibility.
################################################################################
set -g prefix C-p
unbind C-b
bind C-p last-window
+bind p send-keys C-p
bind C-l refresh-client
bind l refresh-client
bind S split-window -v
bind b break-pane
# Split another pane into this window.
bind B command-prompt -p "Select [<window>.]<pane> to join:" 'join-pane -s %1'
+# Split vertically.
+bind C-\ split-window -v
# Next pane.
bind i select-pane -t :.+
bind C-i select-pane -t :.+
################################################################################
set -g default-terminal 'screen-256color'
# PuTTY needs help to set bold colours.
-set -g terminal-overrides 'putty-256color:C8'
+set -a -g terminal-overrides ',putty-256color:C8'
################################################################################
# Window and pane settings.