-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_tmux.conf
51 lines (37 loc) · 1.57 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
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'dracula/tmux'
set -g @dracula-show-flags true
set -g @dracula-show-powerline true
unbind-key C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind c new-window -c "#{pane_current_path}"
bind v new-window
bind | split-window -h -c "#{pane_current_path}"
bind _ split-window -v -c "#{pane_current_path}"
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
#the default is 5, it can accept any number
set -g @dracula-refresh-rate 60
# it can accept `session`, `smiley`, `window`, or any character.
set -g @dracula-show-left-icon session
# default is 1, it can accept any number and 0 disables padding.
# set -g @dracula-left-icon-padding 1
set -g @dracula-border-contrast true
# available plugins: battery, cpu-usage, gpu-usage, ram-usage, network, network-bandwith, weather, time
set -g @dracula-plugins "cpu-usage ram-usage battery time"
# available colors: white, gray, dark_gray, light_purple, dark_purple, cyan, green, orange, red, pink, yellow
# set -g @dracula-[plugin-name]-colors "[background] [foreground]"
# set -g @dracula-cpu-usage-colors "pink dark_gray"
set -g @dracula-cpu-usage-label "L"
set -g @dracula-ram-usage-label "R"
set -g @dracula-show-timezone false
set -g @dracula-day-month true
# switch panes and windows using Alt-arrow without prefix
bind -n M-End select-window -n
bind -n M-Home select-window -p
bind -n M-Left select-pane -L # move left
bind -n M-Down select-pane -D # move down
bind -n M-Up select-pane -U # move up
bind -n M-Right select-pane -R # move right
run '~/.tmux/plugins/tpm/tpm'