summaryrefslogtreecommitdiff
path: root/dot-tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dot-tmux.conf')
-rw-r--r--dot-tmux.conf67
1 files changed, 67 insertions, 0 deletions
diff --git a/dot-tmux.conf b/dot-tmux.conf
new file mode 100644
index 0000000..1d7dec6
--- /dev/null
+++ b/dot-tmux.conf
@@ -0,0 +1,67 @@
+# Default term to screen
+set-option -g default-terminal screen
+
+# Start window numbering at 1
+set -g base-index 1
+
+# Start pane numbering at 1
+setw -g pane-base-index 1
+
+# Allow better key handling in terminal
+setw -g xterm-keys on
+
+# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
+set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
+
+# Scroll History
+set -g history-limit 30000
+
+# Set titles on
+set-option -g set-titles on
+set-option -g set-titles-string '[#S:#I #H] #T'
+
+# From http://blog.niklasottosson.com/?p=574
+# Splitting windows into panes with h and v
+bind-key h split-window -v
+bind-key v split-window -h
+
+# Set up resize-pane keys
+bind-key + resize-pane -D 3
+bind-key / resize-pane -L 3
+bind-key - resize-pane -U 3
+bind-key * resize-pane -R 3
+
+
+# Solarized color scheme from https://raw.github.com/seebi/tmux-colors-solarized
+
+#### COLOUR (Solarized 256)
+
+# default statusbar colors
+set-option -g status-bg colour235 #base02
+set-option -g status-fg colour136 #yellow
+set-option -g status-attr default
+
+# default window title colors
+set-window-option -g window-status-fg colour244 #base0
+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 colour166 #orange
+set-window-option -g window-status-current-bg default
+#set-window-option -g window-status-current-attr bright
+
+# pane border
+set-option -g pane-border-fg colour247
+set-option -g pane-active-border-fg colour235
+
+# message text
+set-option -g message-bg colour235 #base02
+set-option -g message-fg colour166 #orange
+
+# pane number display
+set-option -g display-panes-active-colour colour33 #blue
+set-option -g display-panes-colour colour166 #orange
+
+# clock
+set-window-option -g clock-mode-colour colour64 #green