tangled
alpha
login
or
join now
hyl.st
/
helm
2
fork
atom
nix config
2
fork
atom
overview
issues
pulls
pipelines
tmux.conf
Anish Lakhwara
1 year ago
7919eb18
cbc8e9ec
+62
2 changed files
expand all
collapse all
unified
split
home
darwin
default.nix
tmux
tmuxrc
+3
home/darwin/default.nix
···
27
27
".config/aerospace" = {
28
28
source = ./aerospace;
29
29
};
30
30
+
".tmux.conf" = {
31
31
+
source = ./tmux/tmuxrc;
32
32
+
};
30
33
};
31
34
}
+59
home/darwin/tmux/tmuxrc
···
1
1
+
set -g base-index 1
2
2
+
setw -g pane-base-index 1
3
3
+
4
4
+
# https://old.reddit.com/r/tmux/comments/mesrci/tmux_2_doesnt_seem_to_use_256_colors/
5
5
+
set -g default-terminal "xterm-256color"
6
6
+
set -ga terminal-overrides ",*256col*:Tc"
7
7
+
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
8
8
+
set-environment -g COLORTERM "truecolor"
9
9
+
10
10
+
# Mouse works as expected
11
11
+
set-option -g mouse on
12
12
+
# easy-to-remember split pane commands
13
13
+
bind | split-window -h -c "#{pane_current_path}"
14
14
+
bind - split-window -v -c "#{pane_current_path}"
15
15
+
16
16
+
# don't rename windows automatically
17
17
+
set-option -g allow-rename off
18
18
+
19
19
+
# DESIGN TWEAKS
20
20
+
21
21
+
# don't do anything when a 'bell' rings
22
22
+
set -g visual-activity off
23
23
+
set -g visual-bell off
24
24
+
set -g visual-silence off
25
25
+
setw -g monitor-activity off
26
26
+
set -g bell-action none
27
27
+
28
28
+
# clock mode
29
29
+
setw -g clock-mode-colour yellow
30
30
+
31
31
+
# copy mode
32
32
+
setw -g mode-style 'fg=black bg=green bold'
33
33
+
34
34
+
# panes
35
35
+
set -g pane-border-style 'fg=green'
36
36
+
set -g pane-active-border-style 'fg=yellow'
37
37
+
38
38
+
# statusbar
39
39
+
set -g status-position bottom
40
40
+
set -g status-justify left
41
41
+
set -g status-style 'fg=green'
42
42
+
43
43
+
set -g status-left ''
44
44
+
set -g status-left-length 10
45
45
+
46
46
+
set -g status-right-style 'fg=black bg=yellow'
47
47
+
set -g status-right '%Y-%m-%d %H:%M '
48
48
+
set -g status-right-length 50
49
49
+
50
50
+
setw -g window-status-current-style 'fg=black bg=green'
51
51
+
setw -g window-status-current-format ' #I #W #F '
52
52
+
53
53
+
setw -g window-status-style 'fg=green bg=black'
54
54
+
setw -g window-status-format ' #I #[fg=white]#W #[fg=yellow]#F '
55
55
+
56
56
+
setw -g window-status-bell-style 'fg=yellow bg=green bold'
57
57
+
58
58
+
# messages
59
59
+
set -g message-style 'fg=yellow bg=green bold'