-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
66 lines (51 loc) · 1.71 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
set-option -ga terminal-overrides ",xterm-256color:Tc"
# Remap presix from 'C-b' to 'C-s'
set-option -g prefix C-s
bind-key C-s send-prefix
# Reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Vim bindings!! Awesome!
set -g status-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# No delay for escape key press
set -sg escape-time 0
set -g renumber-windows on # renumber all windows when any window is closed
set -g set-clipboard on # use system clipboard
set -g status-interval 3 # update the status bar every 3 seconds
######################
### DESIGN CHANGES ###
######################
# Sounds
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# Panes
set -g pane-active-border-style 'fg=magenta,bg=default'
set -g pane-border-style 'fg=brightblack,bg=default'
# Statusbar
set -g status-position top
set -g status-justify left
set -g status-style 'bg=black'
set -g status-left "#[fg=blue,bold] #S "
set -g status-right ""
set -g status-left-length 200
set -g window-status-current-format '#[fg=magenta,bg=black] *#I #W'
set -g window-status-format '#[fg=gray,bg=default] #I #W'
set -g window-status-last-style 'fg=white,bg=black'
set -g message-command-style bg=default,fg=yellow
set -g message-style bg=default,fg=yellow
set -g mode-style bg=default,fg=yellow
###############
### PLUGINS ###
###############
# tpm manages itself
set -g @plugin 'tmux-plugins/tpm
# Keep sessions safe
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
run '~/.tmux/plugins/tpm/tpm'