-
Notifications
You must be signed in to change notification settings - Fork 3
/
tmuxconf
41 lines (38 loc) · 1.35 KB
/
tmuxconf
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
# for proper theming for vim and other applications when inside tmux; sets 24 bit color
set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
# Start numbering at 1
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
set -g @scroll-speed-num-lines-per-scroll 3
# Auto set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set-option -g history-limit 99999
set-option -g status-position top
# No delay for escape key press
set -sg escape-time 0
# Reload tmux config
bind-key -T copy-mode MouseDragEnd1Pane send -X copy-selection
bind -n m-= next-window
bind -n m-- previous-window
bind -n S-Right select-pane -R
bind -n S-Left select-pane -L
bind -n S-Down select-pane -D
bind -n S-Up select-pane -U
bind -n m-\\ split-window -h
bind -n m-| split-window -v
bind -n m-v paste-buffer
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavor 'mocha'
run '~/.config/tmux/plugins/tmux/catppuccin.tmux' # needed to load colors before setup
set -g @catppuccin_window_status_style 'rounded'
set -g status-right-length 100
set -g status-right "#{E:@catppuccin_status_directory}#{E:@catppuccin_status_session}"
set -g status-left ""
set -g @catppuccin_window_text " #W"
set -g @catppuccin_window_current_text " #W"
run '~/.tmux/plugins/tpm/tpm'