-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.tmux.conf
177 lines (151 loc) · 4.94 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# vim: ft=tmux
# fix terminal colors
set -g default-terminal "alacritty"
set -ag terminal-overrides ",alacritty:RGB"
# set -g default-terminal "screen-256color"
# set -ga terminal-overrides ",xterm-256color:RGB"
# set -g default-terminal "${TERM}"
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
# change prefix
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# restore clean screen
# bind C-l send-keys 'C-l'
# disable status bar
bind-key x set -g status off
bind-key c-x set -g status on
# active focus-events (when file changes on disk)
# set -g focus-events on
# Plugins settings
# ----------------------------------------------
# tmux pluguin manager
set -g @plugin 'tmux-plugins/tpm'
# tmux sane defaults
set -g @plugin 'tmux-plugins/tmux-sensible'
# enables copying highlighted text to system clipboard
set -g @plugin 'tmux-plugins/tmux-yank'
# ------------------------------------------
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run "${HOME}/.tmux/plugins/tpm/tpm"
# -----------------------------------------
# Everforest theme
#
# Basic status bar colors
# set -g status-fg "#eee8d5"
# set -g status-bg "#3D484D"
#
# # Left side of status bar
# set -g status-left-length "100"
# set -g status-left-style NONE
# set -g status-left "#[fg=#3D484D,bg=#eee8d5,bold] #S #[fg=#eee8d5,bg=#A7C080,nobold]#[fg=#3D484D,bg=#A7C080] #(whoami) #[fg=#A7C080,bg=#9DA9A0]#[fg=#3D484D,bg=#9DA9A0] #I:#P #[fg=#9DA9A0,bg=#3D484D,nobold]"
#
# # Right side of status bar
# set -g status-right-length "100"
# set -g status-right-style NONE
# set -g status-right "#[fg=#9DA9A0,bg=#3D484D]#[fg=#3D484D,bg=#9DA9A0] %H:%M:%S #[fg=colour3,bg=#9DA9A0]#[fg=#3D484D,bg=colour3] %d-%b-%y #[fg=#eee8d5,bg=colour3]#[fg=colour0,bg=#eee8d5,bold] #H "
#
# # Window status
# set -g window-status-format "#[fg=#9DA9A0,bg=#3D484D] #I:#W#F "
# set -g window-status-current-format "#[fg=#3D484D,bg=#A7C080] #I:#W#F "
#
# # Window separator
# set -g window-status-separator ""
# setw -g window-status-style "NONE,fg=#9DA9A0,bg=#3D484D"
#
# # Window status alignment
# set -g status-justify centre
#
# # Clock mode
# set -g clock-mode-colour colour100
# set -g clock-mode-style 24
# -----------------------------------------
# Ayu theme
#
# Basic status bar colors
# set -g status-fg "#CBCCC6"
# set -g status-bg "#1f2430"
#
# # Left side of status bar
# set -g status-left-length "100"
# set -g status-left-style NONE
# set -g status-left "#[fg=#e4e4e4,bg=#707A8C,bold] #S #[fg=#707A8C,bg=#bae673,nobold]#[fg=#1f2430,bg=#bae673] #(whoami) #[fg=#bae673,bg=#D4BFFF]#[fg=#1f2430,bg=#D4BFFF] #I:#P #[fg=#D4BFFF,bg=#1f2430,nobold]"
#
# # Right side of status bar
# set -g status-right-length "100"
# set -g status-right-style NONE
# set -g status-right "#[fg=#D4BFFF,bg=#1f2430]#[fg=#1f2430,bg=#D4BFFF] %H:%M:%S #[fg=#fdcc60,bg=#D4BFFF]#[fg=#1f2430,bg=#fdcc60] %d-%b-%y #[fg=#707A8C,bg=#fdcc60]#[fg=#e4e4e4,bg=#707A8C, bold] #H "
#
# # Window status
# set -g window-status-format "#[fg=#cbccc6,bg=#1f2430] #I:#W#F "
# set -g window-status-current-format "#[fg=#1f2430,bg=#bae673] #I:#W#F "
#
# # Window separator
# set -g window-status-separator ""
# setw -g window-status-style "NONE,fg=#D4BFFF,bg=#1f2430"
#
# # Window status alignment
# set -g status-justify centre
#
# # Clock mode
# set -g clock-mode-colour colour100
# set -g clock-mode-style 24
#
# -----------------------------------------
# # Basid theme (ayu)
# #
# # Basic status bar colors
# set -g status-fg "#CBCCC6"
# set -g status-bg "#1f2430"
#
# # Left side of status bar
# set -g status-left-length "100"
# set -g status-left-style NONE
# set -g status-left ""
#
# # Right side of status bar
# set -g status-right-length "100"
# set -g status-right-style NONE
# set -g status-right ""
#
# # Window status
# set -g window-status-format "#[fg=#cbccc6,bg=#242936] #I:#W#F "
# set -g window-status-current-format "#[fg=#242936,bg=#4cbf99, bold] #I:#W#F "
#
# # Window separator
# set -g window-status-separator "┆"
#
# # Window status alignment
# set -g status-justify centre
# -----------------------------------------
# Basid theme (everforest)
#
# Basic status bar colors
set -g status-fg "#eee8d5"
set -g status-bg "#3D484D"
# Left side of status bar
set -g status-left-length "100"
set -g status-left-style NONE
set -g status-left ""
# Right side of status bar
set -g status-right-length "100"
set -g status-right-style NONE
set -g status-right ""
# Window status
set -g window-status-format "#[fg=#eee8d5,bg=#3D484D] #I:#W#F "
set -g window-status-current-format "#[fg=#3D484D,bg=#A7C080, bold] #I:#W#F "
# Window separator
set -g window-status-separator "┆"
# Window status alignment
set -g status-justify centre