Repository navigation
Expand file tree
/
Copy pathtmux.conf
More file actions
81 lines (69 loc) · 2.26 KB
/
Copy pathtmux.conf
File metadata and controls
81 lines (69 loc) · 2.26 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
68
69
70
71
72
73
74
75
76
77
78
79
80
###############################
# true color support
###############################
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
###############################
# keybindings
###############################
# change prefix key to C-u
unbind C-b
set-option -g prefix C-u
bind-key C-u send-prefix
# use alt+num for faster switching (seems to be default behavior)
bind-key -n M-0 select-window -t :0
bind-key -n M-1 select-window -t :1
bind-key -n M-2 select-window -t :2
bind-key -n M-3 select-window -t :3
bind-key -n M-4 select-window -t :4
bind-key -n M-5 select-window -t :5
bind-key -n M-6 select-window -t :6
bind-key -n M-7 select-window -t :7
bind-key -n M-8 select-window -t :8
bind-key -n M-9 select-window -t :9
# reload config
bind r source-file ~/.tmux.conf
###############################
# misc
###############################
# fix delayed esc behavior in vim
set -s escape-time 1
###############################
# status bar
###############################
# Note: status bar is currently disabled, due to plugins providing their own
#
## default status bar colors
#set-option -g status-style bg=#48D1CC,fg=#232323
#
## put status bar on top
#set-option -g status-position top
#
## default window title colors
#set-window-option -g window-status-style bg=#FF5454,fg=#232323
#
## window status name
#set-window-option -g window-status-format "#I #{=/5/...:pane_current_command}"
#
## active window title colors
#set-window-option -g window-status-current-format "#[bg=colour226] ▶[#I-#{=/5/...:pane_current_command}] "
#
## disable left status (would only display current window index, irritates)
#set-option -g status-left ""
## disable right status bar (would display useless infos like $USER, current time, etc..)
#set-option -g status-right ""
## update window numbers to stay contiguous after a window was closed
#set-option -g renumber-windows on
###############################
# Plugins
###############################
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'dracula/tmux'
set -g @dracula-show-powerline true
set -g @dracula-fixed-location "NYC"
set -g @dracula-plugins "weather"
set -g @dracula-show-flags true
set -g @dracula-show-left-icon session
set -g status-position top
run '~/.tmux/plugins/tpm/tpm'