-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
47 lines (38 loc) · 1.32 KB
/
Copy pathtmux.conf
File metadata and controls
47 lines (38 loc) · 1.32 KB
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
# improve colors
# set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",alacritty:Tc"
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind r source-file ~/.tmux.conf
# color (Solarized 256)
set -g status-style bg=colour235,fg=colour136
setw -g window-status-style fg=colour244
setw -g window-status-current-style fg=colour166
setw -g window-status-activity-style fg=colour61
setw -g window-status-bell-style fg=colour61
set -g pane-border-style fg=colour238,bg=colour235
set -g pane-active-border-style fg=colour208,bg=colour235
set -g message-style bg=colour235,fg=colour166
# pane number display
set -g display-panes-active-colour colour166 #blue
set -g display-panes-colour colour33 #orange
# clock
setw -g clock-mode-colour colour64 #green
setw -g status-right "\"#(hostname)\" | %A, %d-%b-%y | %I:%M %p"
# Mouse friendly
set -g mouse on
# Move between panes with vi keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# update spliting keys
bind | split-window -h
bind - split-window -v
# enable vi copy keys
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle