-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
52 lines (43 loc) · 1.5 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
# 'r' to reload tmux config
unbind r
bind r source-file ~/.tmux.conf
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Enable mouse mode
set -g mouse on
# Disable auto renaming
set allow-rename off
# Act like vim
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Start counting pane and window number at 1
set -g base-index 1
setw -g pane-base-index 1
# Upgrade $TERM
set -g default-terminal "screen-256color"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux#v2.0.0'
set -g @catppuccin_flavor 'macchiato'
set -g @catppuccin_window_status_style "rounded"
# Make the status line pretty and add some modules
set -g @catppuccin_window_current_text "#{window_name}"
set -g @catppuccin_window_text "#{window_name}"
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
# set -agF status-right "#{E:@catppuccin_status_cpu}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
# set -agF status-right "#{E:@catppuccin_status_battery}"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
run '~/.config/tmux/plugins/tmux/catppuccin.tmux'
# run '~/.config/tmux/plugins/tmux-plugins/tmux-cpu/cpu.tmux'
# run '~/.config/tmux/plugins/tmux-plugins/tmux-battery/battery.tmux'