-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
60 lines (46 loc) · 1.79 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
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
# start new panes in the same directory as the current pane
unbind c
bind c new-window -c "#{pane_current_path}"
######################
### DESIGN CHANGES ###
######################
# from https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none
# modes
setw -g clock-mode-colour colour5
#setw -g mode-atttr bold
setw -g mode-style fg=colour1,bg=colour19,bold
# panes
set -g pane-border-style bg=colour0,fg=colour19
set -g pane-active-border-style bg=colour0,fg=colour9
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style bg=colour237,fg=colour145,dim
set -g status-left ''
# TODO: do something else here; I don't care about the date and time
#set -g status-right '#[fg-colour233,bg=colour19,bold] %d/%m #[fg=colour233,bg=clour8,hold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-style fg=colour9,bg=colour239
setw -g window-status-format '#[bg=colour237] #I#[fg=colour249]:#[fg=colour249]#W#[fg=colour249]#F '
setw -g window-status-current-style bold
setw -g window-status-current-format '#[bg=colour239]#[fg=colour196] #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g window-status-bell-style fg=colour255,bg=colour1,bold
# messages
set -g message-style fg=colour255,bg=colour16,bold
# use vi keys for navigating in copy mode
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
# larger scrollback window
set-option -g history-limit 20000