-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
75 lines (57 loc) · 2.19 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
# ctrl-b + r to reload
# ctrl-b + I to install plugins
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Enable mouse control (clickable windows, panes, resizable panes)
# set -g mouse on
# don't rename windows automatically
set-option -g allow-rename off
# move status bar to top
set-option -g status-position top
set -g default-terminal "screen-256color"
set -g status-keys vi
set -sg escape-time 5
setw -g mode-keys vi
# Resize Pane
bind-key -r -T prefix M-Up resize-pane -U 5
bind-key -r -T prefix M-Down resize-pane -D 5
bind-key -r -T prefix M-Left resize-pane -L 5
bind-key -r -T prefix M-Right resize-pane -R 5
bind-key -r -T prefix C-Up resize-pane -U
bind-key -r -T prefix C-Down resize-pane -D
bind-key -r -T prefix C-Left resize-pane -L
bind-key -r -T prefix C-Right resize-pane -R
# Select panes
unbind Up
unbind Down
unbind Left
unbind Right
bind C-k select-pane -U
bind C-j select-pane -D
bind C-l select-pane -R
bind C-h select-pane -L
# switch to last session
bind -n M-b switch-client -l
# show yellow border around active pane
set-option -g pane-active-border-style bg=yellow
# show pane numbers until one is selected
bind -T prefix q display-panes -d 0
set-option -g default-shell $SHELL
# Plugins
set -g @plugin "tmux-plugins/tpm"
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_window_left_separator "█"
set -g @catppuccin_window_right_separator "█ "
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_middle_separator " █"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#{pane_current_path}"
set -g @catppuccin_status_modules_right "application session date_time"
set -g @catppuccin_status_left_separator ""
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_connect_separator "yes"
# set -g @plugin "jimeh/tmux-themepack"
# set -g @themepack "powerline/default/cyan"
run "~/.tmux/plugins/tpm/tpm"