-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
80 lines (63 loc) · 2.29 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
# maintainer: Matt Welch <github.com/matt-welch>
# file: .tmux.conf
# use UTF-8
# set -g utf8
# set-window-option -g utf8 on
# set scrollback history to 100k
set -g history-limit 100000
# set movement/copy keys to vi-mode
setw -g mode-keys vi
# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
# screen-compatibility options
# enable splits like screen
bind | split-window -h
# reload tmux.conf
# [NOTE: the '\;' prevents a "no current session" error on tmux startup
bind r source-file ~/.tmux.conf\; display-message "tmux conf reloaded!!!"
# use screen-style "double-tap" to return to last window
unbind l
bind-key b last-window
# use vi-style pane navigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# -----------#
# Status Bar #
# -----------#
# enable status bar
set-option -g status on
# set-option -g status-utf8 on
# enable visual indicators for window activity
setw -g monitor-activity on
set -g visual-activity on
# center the window list in the status bar
set -g status-justify centre
# prevent programs from renaming your pane if you have MANUALLY set a name,
# else, allow automatic renaming
set-option -g allow-rename off
# enable 256 colors by default
# set -g default-terminal "tmux-256color"
# use this setting for older versions:
# specify to use 256 colors
set -g default-terminal "screen-256color"
# change colors of status bar
set-option -g status-bg colour16 # black
set-option -g status-fg colour188 # white
set-option -g status-style dim
# set window list colors for inactive windows
set-window-option -g window-status-style fg=colour190 # yellow (looks green on 8-color)
#set-window-option -g window-status-fg colour190 # yellow (looks green on 8-color)
#set-window-option -g window-status-bg colour236 # black
#set-window-option -g window-status-attr dim
# set window list colors for active windows
set-window-option -g window-status-current-style fg=colour196 # red
#set-window-option -g window-status-current-fg colour196 # red
#set-window-option -g window-status-current-bg colour234 # dark-grey
#set-window-option -g window-status-current-attr bright
# to get an idea of what the colors above will look like,
# run the following snippet in bash
# for i in {0..255}; do printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\n"; done
#