-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
52 lines (43 loc) · 1.34 KB
/
tmux.conf
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
49
50
51
52
#added by TLam
#Binds to CTRL+A instead of CTRL+B as the prefix
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
#reload with prefix + r
bind r source-file ~/.tmux.conf
#include sweet solarized colors
source ~/.colors
#increase history
set -g history-limit 5000
#allow scrolling
set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'
#window switching
unbind n
bind = next-window
bind - previous-window
bind -n C-Right next-window
bind -n C-Left previous-window
#this breaks selecting text. must now hold shift for it to work
set -g mouse on
#panes
set -g pane-border-fg black
set -g pane-active-border-fg colour1
#status line
set -g status-utf8 on
set -g status-justify left
set -g status-interval 2
set -g status-bg colour0
set -g status-fg colour10
set -g status-right "#H #[fg=colour12]#[fg=colour10] #(date +%D)"
#tabs
set -g default-terminal "screen-256color"
setw -g window-status-format "#[bg=colour0]#[fg=colour12]#[fg=colour10] #I #[bg=colour0]#W"
setw -g window-status-current-format "#[bg=0]#[fg=colour12]#[bg=colour0]#[fg=colour12] *#I#[fg=colour12]#[bg=colour0] [#W]"
# message text
set-option -g message-bg colour0
set-option -g message-fg colour10
# pane number display
set-option -g display-panes-active-colour colour12
set-option -g display-panes-colour colour10
# clock
set-window-option -g clock-mode-colour colour10