-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
53 lines (41 loc) · 1.2 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
# Remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Plugins to save session even after reboot
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'catppuccin/tmux#v2.1.0'
set -g @plugin 'tmux-plugins/tpm'
set -g @continuum-restore 'on'
# Kill the pane without any confirmation
bind-key w kill-pane
# Reload tmux with 'r'
unbind r
bind r source-file ~/.tmux.conf;
# Splitting pane shorcuts
unbind '"'
unbind s
bind s split-window -v
unbind %
unbind v
bind v split-window -h
# Set vim like keymaps
setw -g mode-keys vi
setw -g status-keys vi
# Start indexing the panes from 1
set -g base-index 1
# Configure the catppuccin plugin
set -g @catppuccin_flavor "mocha"
# Load catppuccin
run '~/.config/tmux/plugins/tmux/catppuccin.tmux'
# Statusline customization
# set-option -g status-style bg=black,fg=white
set-option -g automatic-rename on
set-option -g status-left ''
set-option -g status-justify left
set-option -g status-right ' #[fg=red][#{session_name}]'
set-option -g status-interval 1
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
set -g mouse on