-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
123 lines (99 loc) · 3.58 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
# Bunch of defaults to make tmux work in mac
#set-option -g default-command "reattach-to-user-namespace -l bash"
#set-option -g default-shell "/bin/bash"
#set-option -g default-command "bash -l"
#set-option -g default-path $HOME
#set-option -g default-terminal "screen-256color"
#
# use UTF8
#set -g utf8
#set-window-option -g utf8 on
#set-window-option -g utf8 on
# Bind ctrl+a as escape key binding
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Enable vi like key in copy-mode
set-window-option -g mode-keys vi
# Allow to jump to beginning of line
bind a send-prefix
# Jump to last used window.
bind-key C-a last-window
# use PREFIX | to split window horizontally and PREFIX - to split vertically
bind | split-window -h
bind - split-window -v
# Make the current window the first window
bind T swap-window -t 1
#
# map Vi movement keys as pane movement keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# and use C-h and C-l to cycle thru panes
#bind -r C-h select-window -t :-
#bind -r C-l select-window -t :+
# Force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
#set -g default-terminal "screen-256color"
set -g history-limit 10000
#setw -g aggressive-resize on
setw -g aggressive-resize off
set -g set-titles on
set -g set-titles-string "#T"
# turn the status bar on
set-option -g status on
#set -g status-utf8 on
# COLOR (Custom KK)
#
## set color for status bar
#set-option -g status-bg colour235 #base02
#set-option -g status-fg yellow #yellow
#set-option -g status-attr dim
#
## set window list colors - red for active and cyan for inactive
#set-window-option -g window-status-fg brightblue #base0
#set-window-option -g window-status-bg colour236
#set-window-option -g window-status-attr dim
#
#set-window-option -g window-status-current-fg brightred #orange
#set-window-option -g window-status-current-bg colour236
#set-window-option -g window-status-current-attr bright
#### COLOUR (Solarized dark)
# default statusbar colors
#set-option -g status-bg colour239 #base02
#set-option -g status-fg colour130 #yellow
set-option -g status-style fg=colour130,bg=colour239
#set-option -g status-attr default
# default window title colors
#set-window-option -g window-status-fg colour33 #base0
#set-window-option -g window-status-bg default
#set-window-option -g window-status-format "#[fg=colour33,bg=default]"
set-window-option -g window-status-style fg=colour33,bg=default
#set-window-option -g window-status-attr dim
# active window title colors
#set-window-option -g window-status-current-fg colour196 #orange
#set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-format "#[fg=colour196,bg=default]"
set-window-option -g window-status-current-style fg=colour196,bg=default
#set-window-option -g window-status-current-attr bright
# pane border
#set-option -g pane-border-fg colour239 #base02
#set-option -g pane-active-border-fg colour46 #base01
set-option -g pane-border-format colour239 #base02
set-option -g pane-active-border-style fg=colour46 #base01
# message text
#set-option -g message-bg colour239 #base02
#set-option -g message-fg colour196 #orange
set-option -g message-style fg=colour196,bg=colour239
# pane number display
set-option -g display-panes-active-colour colour20 #blue
set-option -g display-panes-colour colour196 #orange
# clock
set-window-option -g clock-mode-colour colour40 #green
set -g @plugin 'tmux-plugins/tpm'
#set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-logging'
# Should always be at the bottom.
run '~/.tmux/plugins/tpm/tpm'