This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
155 lines (124 loc) · 6.07 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
#set -g exit-unattached on
set-window-option -g utf8 on
#unbind C-b
bind-key b set-option status
set-window-option -g clock-mode-style 24
set -g status-interval 1
#set-option -g prefix2 C-a #screen compatibility that kills vim inrement shortcut
bind-key a send-prefix
bind-key C-a last-window
unbind %
bind v split-window -h
bind | split-window -h
bind s split-window -v
#bind – split-window -v
bind : command-prompt
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
setw -g mode-keys vi
# vi stuff
# unbind [
# bind y copy-mode
# unbind p
# bind p paste-buffer]
setw -g aggressive-resize on
set -g default-terminal "screen-256color"
set -g xterm-keys on
set -g history-limit 5000
setw -g automatic-rename on
setw -g monitor-activity on
set -g bell-action any
set -g visual-activity on
set -g base-index 1
setw -g pane-base-index 1
set -g set-titles on
set -g set-titles-string '#H #W #T' # host window command
set -g status-left-length 80
set -g status-right-length 150
# text color
set -g status-fg blue
# mouse
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
set-option -g mouse-utf8 on
setw -g mode-mouse on
# mouse
bind m \
set -g mode-mouse on \;\
set -g mouse-resize-pane on \;\
set -g mouse-select-pane on \;\
set -g mouse-select-window on \;\
display 'Mouse: ON'
# Toggle mouse off with ^B M
bind M \
set -g mode-mouse off \;\
set -g mouse-resize-pane off \;\
set -g mouse-select-pane off \;\
set -g mouse-select-window off \;\
display 'Mouse: OFF'
# set-window-option -g status-left '#[fg=brightwhite,bg=colour127,nobold] #S:#h #[fg=colour127,bg=colour27,nobold]⮀#[fg=black,bg=colour27,nobold] #(whoami) #[fg=colour27,bg=black,bold]⮀'
# set-window-option -g window-status-format '#[fg=colour118,bg=black] [#P:#I] #W'
# set-window-option -g window-status-current-format "#[fg=colour236,bg=colour166]⮀#[fg=colour255,bg=colour166] [#P:#I] ⮁ #W #[fg=colour166,bg=colour0]⮀"
#### 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 colour235 #base02
set-option -g pane-active-border-fg colour240 #base01
# message text
set-option -g message-bg colour235 #base02
set-option -g message-fg colour125 #orange
# pane number display
set-option -g display-panes-active-colour colour166 #orange
set-option -g display-panes-colour colour33 #blue
# clock
set-window-option -g clock-mode-colour colour64 #green
#set-window-option -g status-left '#[fg=white,bg=#AF005F,bold] [#S] #[fg=#AF005F,bg=#268BD2]⮀#[fg=colour235,bg=#268BD2,bold] #(whoami)@#h #[fg=#268BD2,bg=default]⮀'
#set-window-option - window-status-format '#[fg=colour235,bg=#859900]⮀#[fg=black,bg=#859900] #I:#P #W#F#[fg=#859900,bg=default]⮀'
#set-window-option -g window-status-current-format '#[fg=colour235,bg=#CB4B16]⮀#[fg=white,bg=#CB4B16,bold] #I:#P #W#F #[fg=#CB4B16,bg=colour235]⮀'
#### 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 colour235 #base02
set-option -g pane-active-border-fg colour240 #base01
# 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
#set-window-option -g status-left '#[fg=white,bg=#626262,bold] [#S] #[fg=#626262,bg=#8A8A8A]⮀#[fg=#E4E4E4,bg=#8A8A8A] #(whoami)@#h ⮁ #(echo $PWD | sed "s_`ls -d ~|tr -d '\n'`_~_") #[fg=#E4E4E4,bg=colour235]⮀'
set-window-option -g status-left '#[fg=white,bg=#626262,bold] #S #[fg=#626262,bg=#8A8A8A]⮀#[fg=#E4E4E4,bg=#8A8A8A] #(whoami)@#h #[fg=#8A8A8A,bg=#E4E4E4]⮀#[bg=#E4E4E4,fg=#93A1A1] #(echo $PWD | sed "s_`ls -d ~|tr -d '\n'`_~_") #[fg=#E4E4E4,bg=colour235]⮀'
set-window-option -g window-status-format '#[bg=colour235,fg=#859900]⮀#[bg=black,fg=#859900]| #I:#P #W#F ⮁ #[bg=#859900,fg=default]⮀#[fg=colour235,bg=#859900]⮀#[fg=black,bg=#859900] #I:#P #W#F#[fg=#859900,bg=default]⮀'
#set-window-option -g window-status-format '#[fg=colour235,bg=#EEE8D5]⮀#[bg=#EEE8D5,fg=#6C71C4,bold] #I|#P #W#F #[fg=#EEE8D5,bg=default]⮀'
set-window-option -g window-status-format '#[fg=colour235,bg=#6C71C4]⮀#[fg=black,bg=#6C71C4] #I|#P #W#F #[fg=#6C71C4,bg=default]⮀'
#set-window-option -g window-status-current-format '#[bg=colour235,fg=#CB4B16]⮀#[bg=colour235,fg=#CB4B16,bold] #I|#P #W#F #[bg=#CB4B16,fg=colour235]⮀#[fg=colour235,bg=#CB4B16]⮀#[fg=white,bg=#CB4B16,bold] #I|#P #W#F #[fg=#CB4B16,bg=colour235]⮀'
set-window-option -g window-status-current-format '#[fg=colour235,bg=#CB4B16]⮀#[fg=white,bg=#CB4B16,bold] #I|#P #W#F #[fg=#CB4B16,bg=colour235]⮀'
#set -g status-right '#[bg=colour235,fg=#8A8A8A]⮂#[bg=#8A8A8A,fg=#E4E4E4] #(echo $SHELL | sed "s_^.*/bin/__g") #[fg=#626262,bg=#8A8A8A]⮂#[fg=#EEE8D5,bg=#626262] %F %I:%M '#%H:%M'
set -g status-right '#[bg=colour235,fg=#8A8A8A]⮂#[bg=#8A8A8A,fg=#E4E4E4] #(echo $SHELL | sed "s_^.*/bin/__g") #[fg=#626262,bg=#8A8A8A]⮂#[fg=#EEE8D5,bg=#626262] %I:%M:%S '#%H:%M'
set-window-option -g window-status-activity-attr bold,bright