-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_tmux.conf
85 lines (66 loc) · 2.55 KB
/
dot_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
################################################################################
# configuration
################################################################################
# remap prefix to C-a
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# don't rename windows automatically
set-option -g allow-rename off
# reload config
bind r source $HOME/.tmux.conf
# make pane spliting better
bind v split-window -h -c "#{pane_current_path}"
bind s split-window -v -c "#{pane_current_path}"
unbind %
unbind '"'
# hjkl pane traversal
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# 0 based indexing is annoying as 0 is not near 1 on the keyboard
set -g base-index 1
# FAST command sequences
set -s escape-time 0
# clipboard on
set -s set-clipboard on
################################################################################
# display (make it pretty)
################################################################################
# status
set -g status "on"
set -g status-style "bg=#020221,none,align=left"
# messages
set -g message-style "fg=#b4b4b9,bg=#020221"
set -g message-command-style "fg=#99a4bc,bg=#020221"
# panes
set -g pane-border-style "fg=#57575e,bg=#151521"
set -g pane-active-border-style "fg=#57575e,bg=#020221"
# put a line above the status
set -g pane-border-status bottom
set -g pane-border-format '─'
# selection
set -g mode-style "fg=#dfdfe5,bg=#2f0e82"
# active / inactive pane bg
set -g window-style "bg=#151521"
set -g window-active-style "bg=#020221"
# window status
setw -g window-status-style "fg=#b4b4b9,bg=black,none"
setw -g window-status-activity-style "fg=magenta,bg=#36363a,none"
setw -g window-status-separator ""
setw -g window-status-format "#[fg=#787882,bg=#020221] #I:#W "
setw -g window-status-current-format "#[fg=white,bg=#020221] #I#[fg=#787882]:#[fg=yellow]#{?window_zoomed_flag,#[fg=#c8d0e3](,}#W#{?window_zoomed_flag,#[fg=#c8d0e3]),} "
set -g status-left-style "none"
set -g status-right-style "none"
set -g status-left-length "100"
set -g status-right-length "100"
set -g status-left "#[fg=white] #S #[fg=#57575e]│ "
set -g status-right "#[fg=yellow,bg=#36363a] $USER@#h #[fg=#787882]│ #[fg=white]%d/%m/%Y %H:%M "
################################################################################
# plugins
################################################################################
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'