-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
executable file
·67 lines (52 loc) · 2.15 KB
/
Copy pathtmux.conf
File metadata and controls
executable file
·67 lines (52 loc) · 2.15 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Make C-o the prefix key
unbind C-b
set -g prefix C-o
# status bar with load and time
set -g status-bg 'green'
set -g status-fg 'black'
set -g status-left ' '
set -g status-right '#[bg=green]#[fg=black]#(uptime | cut -d ":" -f5- | sed 's/,//g') #[bg=cyan]#[fg=black]#(date +" %b %d %H:%M ")'
set -g window-status-format '#I #W'
set -g window-status-current-format ' #I #W '
#set -g window-status-current-style bg='white'
#set -g window-status-current-style fg='black'
#setw -g window-status-current-bg 'white'
#setw -g window-status-current-fg 'black'
setw -g window-status-current-style 'fg=black,bg=white'
# bind to reload config
bind r source-file ~/.tmux.conf
# 256 color
#set -g default-terminal "screen-256color"
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",*256col*:Tc"
# start window indexing at one instead of zero
set -g base-index 1
# fix slow escape issue on neovim
# https://www.reddit.com/r/vim/comments/40257u/delay_on_esc_with_tmux_and_vim/
set -sg escape-time 0
# use vi edit mode
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
#### COLOUR (Solarized 256)
# https://github.com/seebi/tmux-colors-solarized
# default statusbar colors
set-option -g status-style fg=colour136,bg=colour235 #yellow and base02
# default window title colors
set-window-option -g window-status-style fg=colour244,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=colour166,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
set-option -g pane-border-style fg=colour235 #base02
set-option -g pane-active-border-style fg=colour240 #base01
# message text
set-option -g message-style fg=colour166,bg=colour235 #orange and base02
# pane number display
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
# clock
set-window-option -g clock-mode-colour colour64 #green
# bell
set-window-option -g window-status-bell-style fg=colour235,bg=colour160 #base02, red