summaryrefslogtreecommitdiff
path: root/tmux.conf
blob: 7065dd0d699e03a9c2881ea3cc8a125c2ed2c214 (plain) (blame)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# .tmux.conf

set -g default-command "${SHELL}"
set -g history-limit 500000
set -g status-right "#{host} - %Y-%m-%d %H:%M"
set -s default-terminal "screen-256color"
set -gs escape-time 0
set -g allow-rename off
bind r source-file ~/.tmux.conf
bind-key C-r command-prompt "new-session -s %1 ssh %1 \; set-option default-command \"ssh %1\""
bind-key C-m command-prompt "new-session -s %1 ssh %1 \; set-option default-command \"mosh %1\""
set -g mouse on

unbind C-b
set -g prefix C-x
bind C-x send-prefix

set -g set-titles on
set -g base-index 1
setw -g pane-base-index 1


bind c new-window -c "#{pane_current_path}"

######################
### DESIGN CHANGES ###
######################

# loud or quiet?
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none

# THEME 
set -g status-style bg=default

setw -g window-style 'bg=#040404'
setw -g window-active-style 'bg=#000000'
setw -g pane-active-border-style ''

## highlight activity in status bar
setw -g window-status-activity-style fg="#88bbbb"
setw -g window-status-activity-style bg="#111122"

set -g message-style bg="#77bbbb"
set -g message-style fg="#000000"

set -g message-command-style bg="#77bbbb"
set -g message-command-style fg="#000000"

# message bar or "prompt"
set -g message-style bg="#202020"
set -g message-style fg="#dd99dd"

set -g mode-style bg="#111122"
set -g mode-style fg="#dd9955"

# right side of status bar holds "[host name] (date time)"
set -g status-left-length 15
set -g status-right-style bold
set -g status-right '#[fg=#cc6699,bg=#2d2d2d] #{host}|#[fg=#ff9966] %H:%M |#[fg=#6699cc] %y.%m.%d '

# Tabs
set-window-option -g window-status-style bg=default
set-window-option -g window-status-style fg=white
set-window-option -g window-status-style none
set-window-option -g window-status-format '#[fg=#556655,bg=#444444] #I #[fg=#cccccc,bg=#555555] #W #[default]'
set-window-option -g window-status-current-style none
set-window-option -g window-status-current-format '#[fg=#ffdd99,bg=#222222] #I #[fg=#cccccc,bg=#333333] #W #[default]'

# Window borders
set -g pane-border-style fg="#aaaaaa"
set -g pane-active-border-style fg="#ee9955"